Enum Class SinkStatus
java.lang.Object
java.lang.Enum<SinkStatus>
com.inductiveautomation.ignition.gateway.storeforward.sinks.info.SinkStatus
- All Implemented Interfaces:
Serializable
,Comparable<SinkStatus>
,Constable
Enum representing the status of a data sink.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe sink is accepting data and can process them.The sink has faulted and cannot be used to process data.The sink is initializing and cannot process data.The sink is not accepting data and cannot process them.The sink is still in a starting state and cannot process data.The sink is stopped and cannot process data.The sink is uninitialized and cannot process data.The sink is not licensed and cannot process data. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the sink is currently accepting data.static SinkStatus
Returns the enum constant of this class with the specified name.static SinkStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTING
The sink is accepting data and can process them. -
NOT_ACCEPTING
The sink is not accepting data and cannot process them. -
UNLICENSED
The sink is not licensed and cannot process data. -
STARTED
The sink is still in a starting state and cannot process data. -
INITIALIZING
The sink is initializing and cannot process data. -
UNINITIALIZED
The sink is uninitialized and cannot process data. -
STOPPED
The sink is stopped and cannot process data. -
FAULTED
The sink has faulted and cannot be used to process data.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isAccepting
public boolean isAccepting()Returns true if the sink is currently accepting data.- Returns:
- whether the sink is accepting data
-