- Información general
- Criptografía
- Base de datos
- Java
- Python
- WebAPI
Actividades de desarrollador
UiPath.Java.Activities.CreateJavaObject
Crea una variable JavaObject a partir de una clase utilizando el constructor especificado en el campo de propiedad TipoDeDestino . La clase debe definirse en el .jar proporcionado en la actividad Cargar jar .
El paquete de actividades Java ahora es compatible con .NET 5 Windows.
Propiedades
Común
- DisplayName - The display name of the activity. This field supports only
Stringvariables.
Entrada
- Parameters - The list of arguments you want to pass to the Java method. The arguments must be specified in the same order as they are in the Java method. This field supports value-type variables (
Int32,String, etc.), as well asArraysof value-type variables. - ParametersList - An array of
Objectvariables, containing the parameters you want to pass to the Java method. This field supports onlyList<Object>variables.Nota:The Parameters field enables you to add plain-text arguments and the ParametersList field enables you to load them from preexisting variables. These two property fields have the same function. An argument cannot be null.
Otros
- Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.
Salida
- Result - The created
JavaObjectvariable.
Destino
- TargetType - The name of the Java class you want to use to create the
JavaObject. This field supports only strings and String variables.Nota:The TargetType property must be specified in the form
package.name.ClassName. For example, if we have a package calledcom.package.examplewhich contains the classUser.Profile, which we want to use, then the TargetType property should look likecom.package.example.User.Profile.