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
public abstract class AbstractAction extends Object implements Action
This class define an abstract Action- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description AbstractAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisApplicationAvailableForCurrentArch()Check if the application is available for current platform.booleanisCurrentArchCompatible()Test if the action can be executed with current platform.booleanisHadoopJarMode()Test 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.ens.biologie.genomique.eoulsan.actions.Action
action, getDescription, getName
-
-
-
-
Method Detail
-
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
-
-