Interface MethodDescriptor
public interface MethodDescriptor
Encapsulates the metadata about a control task (also named control method) of a type in the XL Deploy type system.
 Control tasks allow actions to be executed on CIs and can be invoked from the GUI or the CLI. Control tasks specify
 a list of steps to be executed in order. Control tasks can be parametrized in two ways:
 
- by specifying arguments to the control task in the control task configuration
- by allowing the user to specify parameters to the control task during control task execution
Parameters CI.- 
Method SummaryModifier and TypeMethodDescriptiongetFqn()getLabel()getName()<T> Tinvoke(ConfigurationItem item) <T> Tinvoke(ConfigurationItem item, Parameters params) 
- 
Method Details- 
getNameString getName()- Returns:
- The name of the control task.
 
- 
getLabelString getLabel()- Returns:
- Label text for use in the UI.
 
- 
getDescriptionString getDescription()- Returns:
- Textual description of the control task.
 
- 
getAttributes- Returns:
- A map of arguments to be passed to the method call. An entry key represents the name of the argument, and an entry value is the value of the argument.
 
- 
getParameterObjectTypeType getParameterObjectType()- Returns:
- The metadata Typeobject about the specifiedParametersCI.
 
- 
invoke- Type Parameters:
- T- The type of the returned object.
- Parameters:
- item- The- ConfigurationItemon which to invoke the control task.
- params- The specified- Parameterss.
- Returns:
- The result of execution of type T.
 
- 
invoke- Type Parameters:
- T- The type of the returned object.
- Parameters:
- item- The- ConfigurationItemon which to invoke the control task.
- Returns:
- The result of execution of type T.
 
- 
getFqnString getFqn()- Returns:
- The fully qualified name of the control task. This is the type name followed by a dot and then the control task name. For example: overthere.SshJumpstation.checkConnection
 
 
-