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 boolean
isApplicationAvailableForCurrentArch()
Check if the application is available for current platform.boolean
isCurrentArchCompatible()
Test if the action can be executed with current platform.boolean
isHadoopJarMode()
Test if the action can be executed in hadoop Jar mode.boolean
isHidden()
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:Action
Test if the action can be executed in hadoop Jar mode.- Specified by:
isHadoopJarMode
in interfaceAction
- Returns:
- true if the action can be executed in hadoop Jar mode
-
isCurrentArchCompatible
public boolean isCurrentArchCompatible()
Description copied from interface:Action
Test if the action can be executed with current platform.- Specified by:
isCurrentArchCompatible
in interfaceAction
- Returns:
- true if the action can be executed with current platform
-
isHidden
public boolean isHidden()
Description copied from interface:Action
Test 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
-
-