Enum BatchStatus
- java.lang.Object
-
- java.lang.Enum<BatchStatus>
-
- net.avalara.avatax.rest.client.enums.BatchStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BatchStatus>
public enum BatchStatus extends java.lang.Enum<BatchStatus>
The status of a batch file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Cancelled
Batch file is cancelledCancelling
Batch is currently being cancelled.Completed
Batch file has been completely processed.Creating
Batch file is currently being created.Deleted
Batch file has been deleted.Errors
Batch file was processed with some errors.Paused
Batch processing was paused.Processing
Batch is currently being processed.SystemErrors
Batch file experienced system errors and cannot be processed.Waiting
Batch file has been received and is in the queue to be processed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static BatchStatus
valueOf(int intValue)
Returns the enum constant of this type with the specified name.static BatchStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BatchStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Waiting
public static final BatchStatus Waiting
Batch file has been received and is in the queue to be processed.
-
SystemErrors
public static final BatchStatus SystemErrors
Batch file experienced system errors and cannot be processed.
-
Cancelled
public static final BatchStatus Cancelled
Batch file is cancelled
-
Completed
public static final BatchStatus Completed
Batch file has been completely processed.
-
Creating
public static final BatchStatus Creating
Batch file is currently being created.
-
Deleted
public static final BatchStatus Deleted
Batch file has been deleted.
-
Errors
public static final BatchStatus Errors
Batch file was processed with some errors.
-
Paused
public static final BatchStatus Paused
Batch processing was paused.
-
Processing
public static final BatchStatus Processing
Batch is currently being processed.
-
Cancelling
public static final BatchStatus Cancelling
Batch is currently being cancelled.
-
-
Method Detail
-
values
public static BatchStatus[] 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 (BatchStatus c : BatchStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchStatus 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
-
valueOf
public static BatchStatus valueOf(int intValue)
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:
intValue
- 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
-
getValue
public int getValue()
-
-