Package org.yamcs.xtce
Enum DataSource
- java.lang.Object
-
- java.lang.Enum<DataSource>
-
- org.yamcs.xtce.DataSource
-
- All Implemented Interfaces:
Serializable,Comparable<DataSource>
public enum DataSource extends Enum<DataSource>
The data source is associated to aParameterand specifies the source of the values for that parameter.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMANDspecial parameters created on the fly and instantiated in the context of command verifiersCOMMAND_HISTORYspecial parameters created on the fly and instantiated in the context of command verifiersCONSTANTconstants in the XtceDb - cannot be changedDERIVEDparameters set by the algorithm managerEXTERNAL1external parameters are like local parameters (can be set by the client) but maintained outside Yamcs.EXTERNAL2EXTERNAL3LOCALsoftware parameters maintained by Yamcs and that can be set by clientSYSTEMparameters giving internal yamcs state -created on the flyTELEMETEREDused for data acquired from outside, parameters of this type cannot be changed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static DataSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TELEMETERED
public static final DataSource TELEMETERED
used for data acquired from outside, parameters of this type cannot be changed
-
DERIVED
public static final DataSource DERIVED
parameters set by the algorithm manager
-
CONSTANT
public static final DataSource CONSTANT
constants in the XtceDb - cannot be changed
-
LOCAL
public static final DataSource LOCAL
software parameters maintained by Yamcs and that can be set by client
-
SYSTEM
public static final DataSource SYSTEM
parameters giving internal yamcs state -created on the fly
-
COMMAND
public static final DataSource COMMAND
special parameters created on the fly and instantiated in the context of command verifiers
-
COMMAND_HISTORY
public static final DataSource COMMAND_HISTORY
special parameters created on the fly and instantiated in the context of command verifiers
-
EXTERNAL1
public static final DataSource EXTERNAL1
external parameters are like local parameters (can be set by the client) but maintained outside Yamcs. These are project specific and require aSoftwareParameterManagerto be defined in the Yamcs processor configuration.
-
EXTERNAL2
public static final DataSource EXTERNAL2
-
EXTERNAL3
public static final DataSource EXTERNAL3
-
-
Method Detail
-
values
public static DataSource[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataSource c : DataSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSource valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-