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>
,java.lang.constant.Constable
public enum BatchStatus extends java.lang.Enum<BatchStatus>
The status of a batch file
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Cancelled
Batch file is cancelledCompleted
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
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 Details
-
Waiting
Batch file has been received and is in the queue to be processed. -
SystemErrors
Batch file experienced system errors and cannot be processed. -
Cancelled
Batch file is 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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
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()
-