Class ShellActivationType
java.lang.Object
uk.ac.starlink.topcat.activate.ShellActivationType
- All Implemented Interfaces:
ActivationType
Activation type for executing an OS command.
This can also be done using the
JelActivationType
using the System exec
functions, but this makes it more transparent from a UI point of view.- Since:
- 26 Jan 2018
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a component that can be used to configure activators of this type.Description of this activation type.getName()Name of this activation type.getSuitability(TopcatModelInfo tinfo) Indicates the applicability of this activation type to a given table.
-
Constructor Details
-
ShellActivationType
public ShellActivationType()
-
-
Method Details
-
getName
Description copied from interface:ActivationTypeName of this activation type.- Specified by:
getNamein interfaceActivationType- Returns:
- type name
-
getDescription
Description copied from interface:ActivationTypeDescription of this activation type.- Specified by:
getDescriptionin interfaceActivationType- Returns:
- type description
-
createConfigurator
Description copied from interface:ActivationTypeReturns a component that can be used to configure activators of this type.- Specified by:
createConfiguratorin interfaceActivationType- Parameters:
tinfo- information about topcat model for which the activation will take place- Returns:
- new configurator to produce compatible Activators
-
getSuitability
Description copied from interface:ActivationTypeIndicates the applicability of this activation type to a given table.- Specified by:
getSuitabilityin interfaceActivationType- Parameters:
tinfo- information about topcat model- Returns:
- suitability code
-