Class AbstractAction
java.lang.Object
fr.ens.biologie.genomique.eoulsan.actions.AbstractAction
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
AbstractInfoAction,ClusterTaskAction,CreateDesignAction,CreateHadoopJarAction,ExecAction,ExecJarHadoopAction,HadoopExecAction,IntegrationTestAction
This class define an abstract Action
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanCheck if the application is available for current platform.booleanTest if the action can be executed with current platform.booleanTest if the action can be executed in hadoop Jar mode.booleanisHidden()Test if the action must be hidden from the list of available actions.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.ens.biologie.genomique.eoulsan.actions.Action
action, getDescription, getName
-
Constructor Details
-
AbstractAction
public AbstractAction()
-
-
Method Details
-
isHadoopJarMode
public boolean isHadoopJarMode()Description copied from interface:ActionTest if the action can be executed in hadoop Jar mode.- Specified by:
isHadoopJarModein interfaceAction- Returns:
- true if the action can be executed in hadoop Jar mode
-
isCurrentArchCompatible
public boolean isCurrentArchCompatible()Description copied from interface:ActionTest if the action can be executed with current platform.- Specified by:
isCurrentArchCompatiblein interfaceAction- Returns:
- true if the action can be executed with current platform
-
isHidden
public boolean isHidden()Description copied from interface:ActionTest if the action must be hidden from the list of available actions. -
isApplicationAvailableForCurrentArch
public static boolean isApplicationAvailableForCurrentArch()Check if the application is available for current platform.- Returns:
- true if the application is available for current platform
-