public interface ToolDescriptor extends DynamicObject, AWMIdentifiableObject
Tool descriptors can only be referenced by action descriptors where they are defined in a fixed sequence.
The return code of a tool is checked against the maximum allowed return code defined under Application Options. If the return is high this prevents the execution of all following tools defined in the action descriptor.
Output parameters of tools can be used as input parameters for subsequent tools.
The following features are supported:
TaurusPackage.getToolDescriptor()| Modifier and Type | Method and Description |
|---|---|
ToolDescriptor |
clone()
Clones this tool descriptor.
|
ActionDescriptor |
getAfterJobAction()
Returns the value of the 'After Job Action' reference.
|
java.util.List<RToolInParameter> |
getFileInputParms()
Gets the input parameters of the tool descriptor which have the type
'File'.
|
java.util.List<RToolOutParameter> |
getFileOutputParms()
Gets the output parameters of the tool descriptor which have the type
'File'.
|
java.lang.String |
getHelpText()
Returns the value of the 'Help Text' attribute.
|
java.lang.String |
getInParmSeparator()
Returns the value of the 'In Parm Separator' attribute.
|
java.lang.String |
getInParmSeparatorWithoutQuotes()
Deprecated.
Parameter separators are no longer general tool descriptor
attributes, but should be defined by specific function
package tools. Tool executors should use
DynamicObject.getDynamicValue(String) to obtain the attribute. For
removing potential surrounding quotes, use
TaurusMetaModelUtilities.trimAndRemoveQuotes(String). |
org.eclipse.emf.common.util.EList<RToolInParameter> |
getInputParm()
Returns the value of the 'Input Parm' containment
reference list.
|
EIntegratedTools |
getIntegratedTool()
Returns the value of the 'Integrated Tool' attribute.
|
ISAISPFPanel |
getISAISPFPanel()
Returns the value of the 'ISAISPF Panel' containment
reference.
|
ISAPanelCommand |
getISAISPFPanelCommand()
Returns the value of the 'ISAISPF Panel Command'
containment reference.
|
ISAISPFTool |
getISAISPFTool()
Returns the value of the 'ISAISPF Tool' containment
reference.
|
ISAPlugIn |
getISAPlugIn()
Returns the value of the 'ISA Plug In' containment
reference.
|
java.lang.String |
getOutParmSeparator()
Returns the value of the 'Out Parm Separator' attribute.
|
java.lang.String |
getOutParmSeparatorWithoutQuotes()
Deprecated.
Parameter separators are no longer general tool descriptor
attributes, but should be defined by specific function
package tools. Tool executors should use
DynamicObject.getDynamicValue(String) to obtain the attribute. For
removing potential surrounding quotes, use
TaurusMetaModelUtilities.trimAndRemoveQuotes(String). |
org.eclipse.emf.common.util.EList<RToolOutParameter> |
getOutputParm()
Returns the value of the 'Output Parm' containment
reference list.
|
EResourceProcessingTypes |
getResourceProcessing()
Returns the value of the 'Resource Processing' attribute.
|
ERunAsJobTypes |
getRunAsJob()
Returns the value of the 'Run As Job' attribute.
|
org.eclipse.emf.common.util.EList<SpecificAttribute> |
getSpecificAttribute()
Returns the value of the 'Specific Attribute' containment
reference list.
|
java.util.List<RToolInParameter> |
getStringInputParms()
Gets the input parameters of the tool descriptor which have the type
'String'.
|
java.util.List<RToolOutParameter> |
getStringOutputParms()
Gets the output parameters of the tool descriptor which have the type
'String'.
|
java.lang.String |
getToolType()
Returns the value of the 'Tool Type' attribute.
|
ToolTypeExtension |
getToolTypeExtension()
Gets the
ToolTypeExtension of the tool descriptor. |
org.eclipse.emf.common.util.EList<RToolValidateAction> |
getValidateAction()
Returns the value of the 'Validate Action' containment
reference list.
|
boolean |
isRefreshResource()
Returns the value of the 'Refresh Resource' attribute.
|
boolean |
isSetInParmSeparator()
Returns whether the value of the
'
In Parm Separator' attribute is set. |
boolean |
isSetIntegratedTool()
Returns whether the value of the
'
Integrated Tool' attribute is set. |
boolean |
isSetOutParmSeparator()
Returns whether the value of the
'
Out Parm Separator' attribute is set. |
boolean |
isSetRefreshResource()
Returns whether the value of the
'
Refresh Resource' attribute is set. |
boolean |
isSetResourceProcessing()
Returns whether the value of the
'
Resource Processing' attribute is set. |
boolean |
isSetRunAsJob()
Returns whether the value of the
'
Run As Job' attribute is set. |
void |
setAfterJobAction(ActionDescriptor value)
Sets the value of the
'
After Job Action' reference. |
void |
setHelpText(java.lang.String value)
Sets the value of the
'
Help Text' attribute. |
void |
setInParmSeparator(java.lang.String value)
Sets the value of the
'
In Parm Separator' attribute. |
void |
setIntegratedTool(EIntegratedTools value)
Sets the value of the
'
Integrated Tool' attribute. |
void |
setISAISPFPanel(ISAISPFPanel value)
Sets the value of the
'
ISAISPF Panel' containment reference. |
void |
setISAISPFPanelCommand(ISAPanelCommand value)
Sets the value of the
'
ISAISPF Panel Command' containment reference. |
void |
setISAISPFTool(ISAISPFTool value)
Sets the value of the
'
ISAISPF Tool' containment reference. |
void |
setISAPlugIn(ISAPlugIn value)
Sets the value of the
'
ISA Plug In' containment reference. |
void |
setOutParmSeparator(java.lang.String value)
Sets the value of the
'
Out Parm Separator' attribute. |
void |
setRefreshResource(boolean value)
Sets the value of the
'
Refresh Resource' attribute. |
void |
setResourceProcessing(EResourceProcessingTypes value)
Sets the value of the
'
Resource Processing' attribute. |
void |
setRunAsJob(ERunAsJobTypes value)
Sets the value of the
'
Run As Job' attribute. |
void |
setToolType(java.lang.String value)
Sets the value of the
'
Tool Type' attribute. |
void |
unsetInParmSeparator()
Unsets the value of the
'
In Parm Separator' attribute. |
void |
unsetIntegratedTool()
Unsets the value of the
'
Integrated Tool' attribute. |
void |
unsetOutParmSeparator()
Unsets the value of the
'
Out Parm Separator' attribute. |
void |
unsetRefreshResource()
Unsets the value of the
'
Refresh Resource' attribute. |
void |
unsetResourceProcessing()
Unsets the value of the
'
Resource Processing' attribute. |
void |
unsetRunAsJob()
Unsets the value of the
'
Run As Job' attribute. |
getComplexAttributes, getDynamicAttributes, getDynamicValue, setDynamicValuegetID, getModelEditorGroup, isSetModelEditorGroup, setID, setModelEditorGroup, unsetModelEditorGroupgetComment, isSetComment, setComment, unsetCommentgetExtensionID, setExtensionIDorg.eclipse.emf.common.util.EList<RToolInParameter> getInputParm()
RToolInParameter.
Reference to an input parameter of the tool. TaurusPackage.getToolDescriptor_InputParm()org.eclipse.emf.common.util.EList<RToolOutParameter> getOutputParm()
RToolOutParameter.
Reference to an output parameter of the tool. TaurusPackage.getToolDescriptor_OutputParm()boolean isRefreshResource()
"false". isSetRefreshResource(),
unsetRefreshResource(),
setRefreshResource(boolean),
TaurusPackage.getToolDescriptor_RefreshResource()void setRefreshResource(boolean value)
Refresh Resource' attribute. value - the new value of the 'Refresh Resource' attribute.isSetRefreshResource(),
unsetRefreshResource(),
isRefreshResource()void unsetRefreshResource()
Refresh Resource' attribute. boolean isSetRefreshResource()
Refresh Resource' attribute is set.
unsetRefreshResource(),
isRefreshResource(),
setRefreshResource(boolean)EResourceProcessingTypes getResourceProcessing()
EResourceProcessingTypes. Valid values are:
EResourceProcessingTypes,
isSetResourceProcessing(),
unsetResourceProcessing(),
setResourceProcessing(EResourceProcessingTypes),
TaurusPackage.getToolDescriptor_ResourceProcessing()void setResourceProcessing(EResourceProcessingTypes value)
Resource Processing' attribute. value - the new value of the 'Resource Processing' attribute.EResourceProcessingTypes,
isSetResourceProcessing(),
unsetResourceProcessing(),
getResourceProcessing()void unsetResourceProcessing()
Resource Processing' attribute. boolean isSetResourceProcessing()
Resource Processing' attribute is set.
unsetResourceProcessing(),
getResourceProcessing(),
setResourceProcessing(EResourceProcessingTypes)java.lang.String getToolType()
setToolType(String),
TaurusPackage.getToolDescriptor_ToolType()void setToolType(java.lang.String value)
Tool Type' attribute. value - the new value of the 'Tool Type' attribute.getToolType()org.eclipse.emf.common.util.EList<SpecificAttribute> getSpecificAttribute()
SpecificAttribute.
Reference to a specific attribute. TaurusPackage.getToolDescriptor_SpecificAttribute()org.eclipse.emf.common.util.EList<RToolValidateAction> getValidateAction()
RToolValidateAction.
Reference to a validate action for the tool. TaurusPackage.getToolDescriptor_ValidateAction()ISAISPFTool getISAISPFTool()
setISAISPFTool(ISAISPFTool),
TaurusPackage.getToolDescriptor_ISAISPFTool()void setISAISPFTool(ISAISPFTool value)
ISAISPF Tool' containment reference.
value - the new value of the 'ISAISPF Tool' containment
reference.getISAISPFTool()ISAPlugIn getISAPlugIn()
setISAPlugIn(ISAPlugIn),
TaurusPackage.getToolDescriptor_ISAPlugIn()void setISAPlugIn(ISAPlugIn value)
ISA Plug In' containment reference.
value - the new value of the 'ISA Plug In' containment
reference.getISAPlugIn()ISAISPFPanel getISAISPFPanel()
setISAISPFPanel(ISAISPFPanel),
TaurusPackage.getToolDescriptor_ISAISPFPanel()void setISAISPFPanel(ISAISPFPanel value)
ISAISPF Panel' containment reference.
value - the new value of the 'ISAISPF Panel' containment
reference.getISAISPFPanel()ISAPanelCommand getISAISPFPanelCommand()
setISAISPFPanelCommand(ISAPanelCommand),
TaurusPackage.getToolDescriptor_ISAISPFPanelCommand()void setISAISPFPanelCommand(ISAPanelCommand value)
ISAISPF Panel Command' containment reference. value - the new value of the 'ISAISPF Panel Command'
containment reference.getISAISPFPanelCommand()ActionDescriptor getAfterJobAction()
References a modeled action which can be executed when the corresponding job has ended. The action is added to the context menu of the job in the Jobs view.
setAfterJobAction(ActionDescriptor),
TaurusPackage.getToolDescriptor_AfterJobAction()void setAfterJobAction(ActionDescriptor value)
After Job Action' reference. value - the new value of the 'After Job Action' reference.getAfterJobAction()java.lang.String getHelpText()
setHelpText(String),
TaurusPackage.getToolDescriptor_HelpText()void setHelpText(java.lang.String value)
Help Text' attribute. value - the new value of the 'Help Text' attribute.getHelpText()java.lang.String getInParmSeparator()
"\" \"". isSetInParmSeparator(),
unsetInParmSeparator(),
setInParmSeparator(String),
TaurusPackage.getToolDescriptor_InParmSeparator()void setInParmSeparator(java.lang.String value)
In Parm Separator' attribute. value - the new value of the 'In Parm Separator' attribute.isSetInParmSeparator(),
unsetInParmSeparator(),
getInParmSeparator()void unsetInParmSeparator()
In Parm Separator' attribute. boolean isSetInParmSeparator()
In Parm Separator' attribute is set.
unsetInParmSeparator(),
getInParmSeparator(),
setInParmSeparator(String)EIntegratedTools getIntegratedTool()
"NONE". The literals are from the
enumeration EIntegratedTools.
EIntegratedTools,
isSetIntegratedTool(),
unsetIntegratedTool(),
setIntegratedTool(EIntegratedTools),
TaurusPackage.getToolDescriptor_IntegratedTool()void setIntegratedTool(EIntegratedTools value)
Integrated Tool' attribute. value - the new value of the 'Integrated Tool' attribute.EIntegratedTools,
isSetIntegratedTool(),
unsetIntegratedTool(),
getIntegratedTool()void unsetIntegratedTool()
Integrated Tool' attribute. boolean isSetIntegratedTool()
Integrated Tool' attribute is set. unsetIntegratedTool(),
getIntegratedTool(),
setIntegratedTool(EIntegratedTools)java.lang.String getOutParmSeparator()
"\" \"". isSetOutParmSeparator(),
unsetOutParmSeparator(),
setOutParmSeparator(String),
TaurusPackage.getToolDescriptor_OutParmSeparator()void setOutParmSeparator(java.lang.String value)
Out Parm Separator' attribute. value - the new value of the 'Out Parm Separator' attribute.isSetOutParmSeparator(),
unsetOutParmSeparator(),
getOutParmSeparator()void unsetOutParmSeparator()
Out Parm Separator' attribute. boolean isSetOutParmSeparator()
Out Parm Separator' attribute is set.
unsetOutParmSeparator(),
getOutParmSeparator(),
setOutParmSeparator(String)ERunAsJobTypes getRunAsJob()
ERunAsJobTypes. ERunAsJobTypes,
isSetRunAsJob(),
unsetRunAsJob(),
setRunAsJob(ERunAsJobTypes),
TaurusPackage.getToolDescriptor_RunAsJob()void setRunAsJob(ERunAsJobTypes value)
Run As Job' attribute. value - the new value of the 'Run As Job' attribute.ERunAsJobTypes,
isSetRunAsJob(),
unsetRunAsJob(),
getRunAsJob()void unsetRunAsJob()
Run As Job' attribute. isSetRunAsJob(),
getRunAsJob(),
setRunAsJob(ERunAsJobTypes)boolean isSetRunAsJob()
Run As Job' attribute is set. unsetRunAsJob(),
getRunAsJob(),
setRunAsJob(ERunAsJobTypes)java.util.List<RToolInParameter> getFileInputParms()
java.util.List<RToolOutParameter> getFileOutputParms()
java.util.List<RToolOutParameter> getStringOutputParms()
java.util.List<RToolInParameter> getStringInputParms()
ToolTypeExtension getToolTypeExtension()
ToolTypeExtension of the tool descriptor.ToolDescriptor clone()
@Deprecated java.lang.String getInParmSeparatorWithoutQuotes()
DynamicObject.getDynamicValue(String) to obtain the attribute. For
removing potential surrounding quotes, use
TaurusMetaModelUtilities.trimAndRemoveQuotes(String).getInParmSeparator()@Deprecated java.lang.String getOutParmSeparatorWithoutQuotes()
DynamicObject.getDynamicValue(String) to obtain the attribute. For
removing potential surrounding quotes, use
TaurusMetaModelUtilities.trimAndRemoveQuotes(String).getOutParmSeparator()Copyright © 2015 Micro Focus GmbH. All rights reserved.