Enum ConnectorStatus.ConnectorConfigurationStatus
- java.lang.Object
-
- java.lang.Enum<ConnectorStatus.ConnectorConfigurationStatus>
-
- com.snowflake.connectors.application.status.ConnectorStatus.ConnectorConfigurationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectorStatus.ConnectorConfigurationStatus>
- Enclosing class:
- ConnectorStatus
public static enum ConnectorStatus.ConnectorConfigurationStatus extends Enum<ConnectorStatus.ConnectorConfigurationStatus>
Connector configuration status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURED
Connector configuration wizard phase has been completed.CONNECTED
Connection configuration wizard phase has been completed.FINALIZED
Configuration finalization wizard phase has been completed.INSTALLED
Connector has just been installed.PREREQUISITES_DONE
Prerequisites wizard phase has been completed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectorStatus.ConnectorConfigurationStatus[]
getStatusesExcluding(ConnectorStatus.ConnectorConfigurationStatus... excludedStatuses)
Returns all possible configuration statuses excluding the ones provided.boolean
isAfter(ConnectorStatus.ConnectorConfigurationStatus status)
Returns whether this status is after the provided configuration status during the wizard phase.boolean
isBefore(ConnectorStatus.ConnectorConfigurationStatus status)
Returns whether this status is before the provided configuration status during the wizard phase.static ConnectorStatus.ConnectorConfigurationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectorStatus.ConnectorConfigurationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALLED
public static final ConnectorStatus.ConnectorConfigurationStatus INSTALLED
Connector has just been installed.
-
PREREQUISITES_DONE
public static final ConnectorStatus.ConnectorConfigurationStatus PREREQUISITES_DONE
Prerequisites wizard phase has been completed.
-
CONFIGURED
public static final ConnectorStatus.ConnectorConfigurationStatus CONFIGURED
Connector configuration wizard phase has been completed.
-
CONNECTED
public static final ConnectorStatus.ConnectorConfigurationStatus CONNECTED
Connection configuration wizard phase has been completed.
-
FINALIZED
public static final ConnectorStatus.ConnectorConfigurationStatus FINALIZED
Configuration finalization wizard phase has been completed.
-
-
Method Detail
-
values
public static ConnectorStatus.ConnectorConfigurationStatus[] 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 (ConnectorStatus.ConnectorConfigurationStatus c : ConnectorStatus.ConnectorConfigurationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorStatus.ConnectorConfigurationStatus 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
-
getStatusesExcluding
public static ConnectorStatus.ConnectorConfigurationStatus[] getStatusesExcluding(ConnectorStatus.ConnectorConfigurationStatus... excludedStatuses)
Returns all possible configuration statuses excluding the ones provided.- Parameters:
excludedStatuses
- configuration statuses to exclude- Returns:
- all possible configuration statuses excluding the ones provided
-
isBefore
public boolean isBefore(ConnectorStatus.ConnectorConfigurationStatus status)
Returns whether this status is before the provided configuration status during the wizard phase.- Parameters:
status
- configuration status to check- Returns:
- whether this status is before the provided configuration status during the wizard phase
-
isAfter
public boolean isAfter(ConnectorStatus.ConnectorConfigurationStatus status)
Returns whether this status is after the provided configuration status during the wizard phase.- Parameters:
status
- configuration status to check- Returns:
- whether this status is after the provided configuration status during the wizard phase
-
-