Package uk.ac.starlink.topcat.activate
Class DelayActivationType
- java.lang.Object
-
- uk.ac.starlink.topcat.activate.DelayActivationType
-
- All Implemented Interfaces:
ActivationType
public class DelayActivationType extends java.lang.Object implements ActivationType
ActivationType that introduces a delay. This duplicates functionality that can be achieved using the JEL sleep() function or the System sleep command, but it's quite useful in sequences and is more discoverable this way.- Since:
- 21 May 2019
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description DelayActivationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivatorConfiguratorcreateConfigurator(TopcatModelInfo tinfo)Returns a component that can be used to configure activators of this type.java.lang.StringgetDescription()Description of this activation type.java.lang.StringgetName()Name of this activation type.SuitabilitygetSuitability(TopcatModelInfo tinfo)Indicates the applicability of this activation type to a given table.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ActivationTypeName of this activation type.- Specified by:
getNamein interfaceActivationType- Returns:
- type name
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ActivationTypeDescription of this activation type.- Specified by:
getDescriptionin interfaceActivationType- Returns:
- type description
-
createConfigurator
public ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
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
public Suitability getSuitability(TopcatModelInfo tinfo)
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
-
-