public abstract class AbstractToolsAction<T extends ModelItem> extends AbstractSoapUIAction<T>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractToolsAction.CloseAction |
protected class |
AbstractToolsAction.GenerateAction |
static class |
AbstractToolsAction.ShowIntegratedToolsSettingsAction |
Modifier and Type | Field and Description |
---|---|
protected static String |
CACHED_WSDL |
protected static String |
JAVA_ARGS |
protected static String |
SOAPUISETTINGSPASSWORD |
protected static String |
TOOL_ARGS |
protected String |
valuesSettingID |
protected static String |
WSDL |
ENABLED_PROPERTY
Constructor and Description |
---|
AbstractToolsAction(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJavaArgs(StringToStringMap values,
ArgumentBuilder builder) |
protected void |
addToolArgs(StringToStringMap values,
ArgumentBuilder builder) |
protected void |
addWSDLFields(XForm mainForm,
T modelItem) |
protected XForm |
buildArgsForm(XFormDialogBuilder builder,
boolean addJavaArgs,
String toolName) |
protected String |
buildClasspath(File jarDir) |
protected ActionList |
buildDefaultActions(String helpUrl,
T modelItem) |
protected XFormDialog |
buildDialog(T modelItem) |
void |
closeDialog(T modelItem) |
protected Action |
createRunOption(T modelItem) |
protected abstract void |
generate(StringToStringMap values,
ToolHost toolHost,
T modelItem) |
protected String |
getDefinition(T modelItem) |
XFormDialog |
getDialog() |
T |
getModelItem() |
Action |
getToolsSettingsAction() |
String |
getValuesSettingID() |
protected String |
getWsdlUrl(StringToStringMap values,
T modelItem) |
protected StringToStringMap |
initValues(T modelItem,
Object param) |
protected void |
initWSDL(StringToStringMap values,
WsdlInterface iface) |
void |
onClose(T modelItem)
To be overridden..
|
void |
perform(T target,
Object param) |
void |
performHeadless(T target,
Object param)
Perform an
|
void |
run(ToolHost toolHost,
T modelItem,
Object param) |
void |
setFixedWSDL(boolean b)
Set this to true to not let the user edit the WSDL.
|
void |
setToolsSettingsAction(Action toolsSettingsAction) |
void |
setValuesSettingID(String valuesSettingID) |
addPropertyChangeListener, addPropertyChangeListener, applies, getDescription, getId, getName, isDefault, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled
protected static final String WSDL
protected static final String CACHED_WSDL
protected static final String JAVA_ARGS
protected static final String TOOL_ARGS
protected static final String SOAPUISETTINGSPASSWORD
protected String valuesSettingID
public XFormDialog getDialog()
public String getValuesSettingID()
public void setValuesSettingID(String valuesSettingID)
public void setFixedWSDL(boolean b)
b
- public T getModelItem()
public void performHeadless(T target, Object param)
target
- param
- protected StringToStringMap initValues(T modelItem, Object param)
protected XFormDialog buildDialog(T modelItem)
protected void initWSDL(StringToStringMap values, WsdlInterface iface)
protected abstract void generate(StringToStringMap values, ToolHost toolHost, T modelItem) throws Exception
Exception
public void run(ToolHost toolHost, T modelItem, Object param) throws Exception
Exception
public void onClose(T modelItem)
protected String getWsdlUrl(StringToStringMap values, T modelItem)
protected ActionList buildDefaultActions(String helpUrl, T modelItem)
public Action getToolsSettingsAction()
public void setToolsSettingsAction(Action toolsSettingsAction)
protected void addJavaArgs(StringToStringMap values, ArgumentBuilder builder)
protected void addToolArgs(StringToStringMap values, ArgumentBuilder builder)
protected XForm buildArgsForm(XFormDialogBuilder builder, boolean addJavaArgs, String toolName)
public void closeDialog(T modelItem)
Copyright © 2019. All Rights Reserved.