Package gda.jython

Enum Class ScriptProjectType

java.lang.Object
java.lang.Enum<ScriptProjectType>
gda.jython.ScriptProjectType
All Implemented Interfaces:
Serializable, Comparable<ScriptProjectType>, Constable

public enum ScriptProjectType extends Enum<ScriptProjectType>
  • Enum Constant Details

    • USER

      public static final ScriptProjectType USER
      Scripts edited by users
    • CONFIG

      public static final ScriptProjectType CONFIG
      Scripts used to implement beamline functionality. Not user editable
    • CORE

      public static final ScriptProjectType CORE
      Scripts provided with GDA plugins. Not user editable
    • HIDDEN

      public static final ScriptProjectType HIDDEN
      Scripts that should not be shown in the PyDev Project Explorer, such as gdaserver.py which is used to provide imports/autocomplete, but should not be seen or edited.
  • Method Details

    • values

      public static ScriptProjectType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScriptProjectType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null