|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Enables the client to create objects that are not provided by the SDM server.
| Method Summary | |
ComponentVersionHandlingRule |
createComponentVersionHandlingRule(int ruleAsInt)
Creates a ComponentVersionHandlingRule according to the specified
int represantation of the rule. |
DeployItem |
createDeployItem(java.io.File archive)
Creates a DeployItem for the specified archive. |
ErrorHandlingRule |
createErrorHandlingRule(int ruleAsInt)
Creates a ErrorHandlingRule according to the specified
int represantation of the rule.
|
Param |
createParam(ParamType type,
java.lang.String name,
java.lang.Object value,
boolean shallBeHidden)
Deprecated. |
Param |
createParam(ParamType type,
java.lang.String name,
java.lang.String displayName,
java.lang.Object value,
boolean shallBeHidden)
Creates a Param object with the specified type, name, display
name, value and "hidden" attribute. |
TargetSystem |
createTargetSystem(java.lang.String id,
ServerType type,
java.lang.String description)
Creates a TargetSystem object with the specified ID, type
and an optional description. |
ParamType |
createType(int typeAsInt)
Creates a ParamType object with the specified type. |
UnDeployItem |
createUndeployItem(java.lang.String vendor,
java.lang.String name)
Creates a UnDeployItem. |
UnDeployItem |
createUndeployItem(java.lang.String vendor,
java.lang.String name,
java.lang.String location,
java.lang.String counter)
Creates a UnDeployItem. |
| Method Detail |
public Param createParam(ParamType type,
java.lang.String name,
java.lang.String displayName,
java.lang.Object value,
boolean shallBeHidden)
throws RemoteException
Param object with the specified type, name, display
name, value and "hidden" attribute. The type has to correspond
to one of the permitted types specified by ParamTypes. The
value has to match the specified type.type - the ParamType of the parametername - the name of the parameterdisplayName - the display name of the parametervalue - the value of the parameter; for primitive types, an instance
of the corresponding wrapper class has to be provided;
null is a possible valueshallBeHidden - indicates whether the value should be displayed or
transported in clear text or decryptedParam with the specified propertiesjava.lang.IllegalArgumentException - if type does not represent
a permitted type or value does not match the
specified typeNullPointerException - if type or name
is nullParamTypes
public Param createParam(ParamType type,
java.lang.String name,
java.lang.Object value,
boolean shallBeHidden)
throws RemoteException
Param object with the specified type, name,
value and "hidden" attribute. The type has to correspond
to one of the permitted types specified by ParamTypes. The
value has to match the specified type. This is a deprecated version of the
method above which uses a new parameter displayName.
Using this method means that the displayName will be set to
the value of name internally.type - the ParamType of the parametername - the name of the parametervalue - the value of the parameter; for primitive types, an instance
of the corresponding wrapper class has to be provided;
null is a possible valueshallBeHidden - indicates whether the value should be displayed or
transported in clear text or decryptedParam with the specified propertiesjava.lang.IllegalArgumentException - if type does not represent
a permitted type or value does not match the
specified typeNullPointerException - if type or name
is nullParamTypes
public ParamType createType(int typeAsInt)
throws RemoteException
ParamType object with the specified type. The type
has to correspond to one of the permitted types specified by
ParamTypes.typeAsInt - an int representation of the type;
the permitted values are defined in ParamTypesParamTypejava.lang.IllegalArgumentException - if the value of typeAsInt
is not permittedParamTypes
public TargetSystem createTargetSystem(java.lang.String id,
ServerType type,
java.lang.String description)
throws RemoteException
TargetSystem object with the specified ID, type
and an optional description. The type has to be one of the types returned
by SDMConfig.id - a String defining the ID of the target systemtype - the ServerType of the target systemdescription - a String providing a description of the
target system; may be nullTargetSystem with the specified propertiesjava.lang.IllegalArgumentException - if type represents an
unknown server typeNullPointerException - if id or type is
nullSDMConfig,
ServerType,
TargetSystem
public DeployItem createDeployItem(java.io.File archive)
throws RemoteException,
java.io.IOException
DeployItem for the specified archive.archive - a File specifying the archiveDeployItem for the specified archivejava.io.IOException - if an I/O exception of some sort has occurredNullPointerException - if archive is null
public ComponentVersionHandlingRule createComponentVersionHandlingRule(int ruleAsInt)
throws RemoteException
ComponentVersionHandlingRule according to the specified
int represantation of the rule.ruleAsInt - a int specifying the type of rule wantedComponentVersionHandlingRulejava.lang.IllegalArgumentException - if the specified int represantation is unknownfor possible values
public ErrorHandlingRule createErrorHandlingRule(int ruleAsInt)
throws RemoteException
ErrorHandlingRule according to the specified
int represantation of the rule.
This method is new with API client version 5.ruleAsInt - a int specifying the type of rule wantedErrorHandlingRulejava.lang.IllegalArgumentException - if the specified int represantation is unknownfor possible values
public UnDeployItem createUndeployItem(java.lang.String vendor,
java.lang.String name)
throws RemoteException
UnDeployItem. The two arguments vendor
and name are used to identify the component line
(development or software component) of the
deployment that should be undeployed.
Thus any deployment that belongs to the same component line will be
undeployed not matter what the current version (location/counter) of the
deployment is.vendor - the vendor of the component to be undeployedname - the name of the component to be undeployedUnDeployItemjava.lang.IllegalArgumentException - if vendor or name was null
public UnDeployItem createUndeployItem(java.lang.String vendor,
java.lang.String name,
java.lang.String location,
java.lang.String counter)
throws RemoteException
UnDeployItem. The four arguments vendor,
name, location and counter are used
to identify the component (development or software component) of the
deployment that should be undeployed.vendor - the vendor of the component to be undeployedname - the name of the component to be undeployedlocation - the location of the component to be undeployedcounter - the counter of the component to be undeployedUnDeployItemjava.lang.IllegalArgumentException - if vendor, name, location or
counter was null or counter had a wrong
format.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||