|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class for additional classifications. Additional classifications are optional data an agent may provide to receive more or cheaper permissions (but need not). They need not be understood by the agent system and therefore might have no result after presenting them. A classifications has a status, which ranges from "unknown" over "to check" to "accepted" and "rejected".
ClassificationSet
Field Summary | |
static int |
ACCEPTED
The classification was accepted. |
static int |
CHECK_CURRENTLY_IMPOSSIBLE
The agent system could not verify the classification, however it seems that this was because of a temporary problem. |
static int |
CHECK_IMPOSSIBLE
The agent system could not verify the classification. |
static int |
IGNORE
This classification should be or is ignored |
static int |
REJECTED
The classification was rejected. |
static int |
REQUEST_CHECK
The agent requests from the agent system to check this classification. |
static int |
UNKNOWN_CLASSIFICATION
The agent system does not recognize this classification |
Method Summary | |
int |
getClassificationStatus()
Returns the current status of this classification. |
void |
setClassificationStatus(int newStatus)
Sets the status of this classification. |
Field Detail |
public static final int UNKNOWN_CLASSIFICATION
public static final int IGNORE
public static final int REQUEST_CHECK
public static final int CHECK_CURRENTLY_IMPOSSIBLE
public static final int CHECK_IMPOSSIBLE
public static final int ACCEPTED
public static final int REJECTED
Method Detail |
public int getClassificationStatus()
public void setClassificationStatus(int newStatus)
SecurityManager security=System.getSecurityManager(); if(security!=null) security.checkPermission(new RuntimePermission("setClassification"));
newStatus
- the new statusSecurityException
- if the caller may not modify the status of the classification
|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |