public enum AgentTrigger extends Enum<AgentTrigger> implements INumberEnum<Short>
Enum Constant and Description |
---|
DOCUPDATE
When doc is updated
|
EVENT
When an server event executes
|
MANUAL
Manually executed
|
NEWMAIL
When new mail delivered
|
NONE
Unknown or unavailable
|
PASTED
When documents pasted into database
|
SCHEDULED
According to time schedule
|
SERVERSTART
On server start
|
SYNCHNEWMAIL
Synchronous new mail agent executed by router
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
static AgentTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentTrigger NONE
public static final AgentTrigger SCHEDULED
public static final AgentTrigger NEWMAIL
public static final AgentTrigger PASTED
public static final AgentTrigger MANUAL
public static final AgentTrigger DOCUPDATE
public static final AgentTrigger SYNCHNEWMAIL
public static final AgentTrigger EVENT
public static final AgentTrigger SERVERSTART
public static AgentTrigger[] values()
for (AgentTrigger c : AgentTrigger.values()) System.out.println(c);
public static AgentTrigger valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Short getValue()
getValue
in interface INumberEnum<Short>
public long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
Copyright © 2019–2021 HCL. All rights reserved.