public final class AssignmentRuleInfo extends Object implements IAssignmentRuleInfo
Constructor and Description |
---|
AssignmentRuleInfo()
Constructor of a new assignment rule description
|
AssignmentRuleInfo(UUID ruleId)
Constructor of an existing assignment rule description
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationExt()
Gets an application with additional criteria for applying the rule
|
UUID |
getAssignmentRuleId()
Gets an assignment rule ID
|
String |
getInfoBaseName()
Gets the name of the infobase where the rule is used
|
String |
getObjectType()
Gets an assignment object ID
|
int |
getPriority()
Gets assignment rule priority
|
int |
getRuleType()
Gets an assignment rule
0 - do not distribute to this server
1 - same as no rule
2 - distribute to this server
|
void |
setApplicationExt(String applicationExt)
Sets an application with additional criteria for applying the rule
|
void |
setInfoBaseName(String infoBaseName)
Sets the name of the infobase where the rule is used
|
void |
setObjectType(String objectType)
Sets an assignment object ID
|
void |
setPriority(int priority)
Sets assignment rule priority
|
void |
setRuleType(int ruleType)
Sets an assignment rule
0 - do not distribute to this server
1 - same as no rule
2 - distribute to this server
|
String |
toString() |
public AssignmentRuleInfo()
public AssignmentRuleInfo(UUID ruleId)
ruleId
- assignment rule IDpublic UUID getAssignmentRuleId()
IAssignmentRuleInfo
getAssignmentRuleId
in interface IAssignmentRuleInfo
public String getObjectType()
IAssignmentRuleInfo
getObjectType
in interface IAssignmentRuleInfo
public void setObjectType(String objectType)
IAssignmentRuleInfo
setObjectType
in interface IAssignmentRuleInfo
objectType
- assignment object IDpublic String getInfoBaseName()
IAssignmentRuleInfo
getInfoBaseName
in interface IAssignmentRuleInfo
public void setInfoBaseName(String infoBaseName)
IAssignmentRuleInfo
setInfoBaseName
in interface IAssignmentRuleInfo
infoBaseName
- infobase name, the null value stands for
all infobases in the clusterpublic int getRuleType()
IAssignmentRuleInfo
getRuleType
in interface IAssignmentRuleInfo
public void setRuleType(int ruleType)
IAssignmentRuleInfo
setRuleType
in interface IAssignmentRuleInfo
ruleType
- assignment rulepublic String getApplicationExt()
IAssignmentRuleInfo
getApplicationExt
in interface IAssignmentRuleInfo
public void setApplicationExt(String applicationExt)
IAssignmentRuleInfo
setApplicationExt
in interface IAssignmentRuleInfo
applicationExt
- application with additional criteria for applying the rulepublic int getPriority()
IAssignmentRuleInfo
getPriority
in interface IAssignmentRuleInfo
public void setPriority(int priority)
IAssignmentRuleInfo
setPriority
in interface IAssignmentRuleInfo
priority
- assignment rule priorityCopyright © '1C' 1996-2012