Class LaunchAction

  • All Implemented Interfaces:

    
    public final class LaunchAction
    extends Action
                        

    Represents an action to launch an external application or file.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String path
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getPath() Path to the application that shall be launched or the document that shall be opened or printed.
      ActionType getType() Returns type of action to make down-casting easier.
      boolean equals(Object o)
      int hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LaunchAction

        LaunchAction(String path)
        Creates action instance.
        Parameters:
        path - Path to the application that shall be launched or the document that shall be opened or printed.
      • LaunchAction

        LaunchAction(String path, List<Action> subActions)
        Creates action instance.
        Parameters:
        path - Path to the application that shall be launched or the document that shall be opened or printed.
        subActions - List of sub-actions of this action.