Package cdc.issues.io
Enum OutSettings.Hint
- java.lang.Object
-
- java.lang.Enum<OutSettings.Hint>
-
- cdc.issues.io.OutSettings.Hint
-
- All Implemented Interfaces:
Serializable,Comparable<OutSettings.Hint>
- Enclosing class:
- OutSettings
public static enum OutSettings.Hint extends Enum<OutSettings.Hint>
Enumeration of possible hints.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_COMMENTSIf set, Comment columns are automatically created.AUTO_LOCATIONSIf set, Location columns are automatically created.AUTO_METASIf set, Meta columns are automatically created.AUTO_PARAMSIf set, Param columns are automatically created.NO_ANSWERSIf set, Answers are not written with issues.NO_COMMENTS_COLIf set, the Comments column/field is not written.NO_DOMAIN_COLIf set, the Domain column/field is not written.NO_LOCATIONS_COLIf set, the Locations column/field is not written.NO_METAS_COLIf set, the Metas column/field is not written.NO_PARAMS_COLIf set, the Params column/field is not written.NO_PROJECT_COLIf set, the Project column/field is not written.NO_SNAPSHOT_COLIf set, the Snapshot column/field is not written.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAuto()static OutSettings.HintvalueOf(String name)Returns the enum constant of this type with the specified name.static OutSettings.Hint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_PROJECT_COL
public static final OutSettings.Hint NO_PROJECT_COL
If set, the Project column/field is not written.
-
NO_SNAPSHOT_COL
public static final OutSettings.Hint NO_SNAPSHOT_COL
If set, the Snapshot column/field is not written.
-
NO_DOMAIN_COL
public static final OutSettings.Hint NO_DOMAIN_COL
If set, the Domain column/field is not written.
-
NO_METAS_COL
public static final OutSettings.Hint NO_METAS_COL
If set, the Metas column/field is not written.
-
AUTO_METAS
public static final OutSettings.Hint AUTO_METAS
If set, Meta columns are automatically created.
-
NO_PARAMS_COL
public static final OutSettings.Hint NO_PARAMS_COL
If set, the Params column/field is not written.
-
AUTO_PARAMS
public static final OutSettings.Hint AUTO_PARAMS
If set, Param columns are automatically created.
-
NO_ANSWERS
public static final OutSettings.Hint NO_ANSWERS
If set, Answers are not written with issues.
-
NO_LOCATIONS_COL
public static final OutSettings.Hint NO_LOCATIONS_COL
If set, the Locations column/field is not written.
-
AUTO_LOCATIONS
public static final OutSettings.Hint AUTO_LOCATIONS
If set, Location columns are automatically created.
-
NO_COMMENTS_COL
public static final OutSettings.Hint NO_COMMENTS_COL
If set, the Comments column/field is not written.
-
AUTO_COMMENTS
public static final OutSettings.Hint AUTO_COMMENTS
If set, Comment columns are automatically created.
-
-
Method Detail
-
values
public static OutSettings.Hint[] 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 (OutSettings.Hint c : OutSettings.Hint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutSettings.Hint 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
-
isAuto
public boolean isAuto()
- Returns:
trueif this hint is one of the AUTO hints.
-
-