Inherits ResourceInstance.
Public Member Functions | |
| JavaResource () | |
| Creates a new JavaResource with the default values. | |
| JavaResource (ResourceInstance resourceInstance) | |
| Creates a new JavaResource based on a generic ResourceInstance. | |
| JavaResource (String localId, InstanceName instanceName, List< Property > propertyList) | |
| Creates a new JavaResource based on the parameters. | |
| Job | executeAttachedInput (String className, String[] args) |
| Creates a new Job which once executed, runs the class with the attached arguments. | |
| Job | executeAttachedInputAndEmbedded (String className, String[] args, List< Data > lstEmbeddedData) |
| Creates a new Job which once executed, runs the the class with the attached arguments and inputs data. | |
Static Public Member Functions | |
| static JavaResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type JavaResource. | |
Static Public Attributes | |
| static final String | ID = "JavaResource" |
| String containing the identifier for this resource. | |
| com.abiquo.api.resources.JavaResource.JavaResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new JavaResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| com.abiquo.api.resources.JavaResource.JavaResource | ( | String | localId, | |
| InstanceName | instanceName, | |||
| List< Property > | propertyList | |||
| ) |
Creates a new JavaResource based on the parameters.
| localId | the local id | |
| instanceName | the name | |
| propertyList | the property list |
| static JavaResource com.abiquo.api.resources.JavaResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type JavaResource.
| resourceInstance | The generic ResourceInstance |
| Job com.abiquo.api.resources.JavaResource.executeAttachedInput | ( | String | className, | |
| String[] | args | |||
| ) |
Creates a new Job which once executed, runs the class with the attached arguments.
| className | The class name | |
| args | The arguments |
| Job com.abiquo.api.resources.JavaResource.executeAttachedInputAndEmbedded | ( | String | className, | |
| String[] | args, | |||
| List< Data > | lstEmbeddedData | |||
| ) |
Creates a new Job which once executed, runs the the class with the attached arguments and inputs data.
| className | the class name | |
| args | the arguments | |
| lstEmbeddedData | the embedded data list |
final String com.abiquo.api.resources.JavaResource.ID = "JavaResource" [static] |
String containing the identifier for this resource.
1.5.5