Enum ProjectSyncFrequency
- java.lang.Object
-
- java.lang.Enum<ProjectSyncFrequency>
-
- ca.corefacility.bioinformatics.irida.model.project.ProjectSyncFrequency
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProjectSyncFrequency>
public enum ProjectSyncFrequency extends java.lang.Enum<ProjectSyncFrequency>
Describes how often a project should be synchronized by a remote api
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDays()
static ProjectSyncFrequency
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProjectSyncFrequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final ProjectSyncFrequency NEVER
-
DAILY
public static final ProjectSyncFrequency DAILY
-
WEEKLY
public static final ProjectSyncFrequency WEEKLY
-
MONTHLY
public static final ProjectSyncFrequency MONTHLY
-
SEMIMONTHLY
public static final ProjectSyncFrequency SEMIMONTHLY
-
QUARTERLY
public static final ProjectSyncFrequency QUARTERLY
-
-
Method Detail
-
values
public static ProjectSyncFrequency[] 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 (ProjectSyncFrequency c : ProjectSyncFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectSyncFrequency valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDays
public int getDays()
-
-