Groovy Documentation

com.ace.mws.acls
[Groovy] Class AclRule

java.lang.Object
  com.ace.mws.acls.AclRule

class AclRule

This class represents a rule that can be in Moab's access control list (ACL) mechanism.

The basic AclRule information is the object's name and type. The type directly maps to a CredentialType value. The default mechanism Moab uses to check the ACL for a particular item is if the user or object coming in has ANY of the values in the ACL, then the user or object is given access. If no values match the user or object in question, the user or object is rejected access.

Authors:
vrb


Field Summary
private AclAffinity affinity

Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation.

private ComparisonOperator comparator

The type of comparison to make against the ACL object.

private Long id

private static long serialVersionUID

private AclType type

The type of the object that is being granted (or denied) access.

private String value

The name of the object that is being granted (or denied) access.

 
Constructor Summary
AclRule()

 
Method Summary
AclAffinity getAffinity()

Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation.

ComparisonOperator getComparator()

The type of comparison to make against the ACL object.

Long getId()

AclType getType()

The type of the object that is being granted (or denied) access.

String getValue()

The name of the object that is being granted (or denied) access.

void setAffinity(AclAffinity affinity)

Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation.

void setComparator(ComparisonOperator comparator)

The type of comparison to make against the ACL object.

void setId(Long id)

void setType(AclType type)

The type of the object that is being granted (or denied) access.

void setValue(String value)

The name of the object that is being granted (or denied) access.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

affinity

private AclAffinity affinity
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. By default, jobs gravitate toward reservations through a mechanism known as positive affinity. This mechanism allows jobs to run on the most constrained resources leaving other, unreserved resources free for use by other jobs that may not be able to access the reserved resources. Normally this is a desired behavior. However, sometimes, it is desirable to reserve resources for use only as a last resort-using the reserved resources only when there are no other resources available. This last resort behavior is known as negative affinity.

Defaults to AclAffinity.POSITIVE.


comparator

private ComparisonOperator comparator
The type of comparison to make against the ACL object.

Defaults to ComparisonOperator.EQUAL.


id

private Long id


serialVersionUID

private static final long serialVersionUID


type

private AclType type
The type of the object that is being granted (or denied) access.


value

private String value
The name of the object that is being granted (or denied) access.


 
Constructor Detail

AclRule

AclRule()


 
Method Detail

getAffinity

AclAffinity getAffinity()
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. By default, jobs gravitate toward reservations through a mechanism known as positive affinity. This mechanism allows jobs to run on the most constrained resources leaving other, unreserved resources free for use by other jobs that may not be able to access the reserved resources. Normally this is a desired behavior. However, sometimes, it is desirable to reserve resources for use only as a last resort-using the reserved resources only when there are no other resources available. This last resort behavior is known as negative affinity.

Defaults to AclAffinity.POSITIVE.


getComparator

ComparisonOperator getComparator()
The type of comparison to make against the ACL object.

Defaults to ComparisonOperator.EQUAL.


getId

Long getId()


getType

AclType getType()
The type of the object that is being granted (or denied) access.


getValue

String getValue()
The name of the object that is being granted (or denied) access.


setAffinity

void setAffinity(AclAffinity affinity)
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. By default, jobs gravitate toward reservations through a mechanism known as positive affinity. This mechanism allows jobs to run on the most constrained resources leaving other, unreserved resources free for use by other jobs that may not be able to access the reserved resources. Normally this is a desired behavior. However, sometimes, it is desirable to reserve resources for use only as a last resort-using the reserved resources only when there are no other resources available. This last resort behavior is known as negative affinity.

Defaults to AclAffinity.POSITIVE.


setComparator

void setComparator(ComparisonOperator comparator)
The type of comparison to make against the ACL object.

Defaults to ComparisonOperator.EQUAL.


setId

void setId(Long id)


setType

void setType(AclType type)
The type of the object that is being granted (or denied) access.


setValue

void setValue(String value)
The name of the object that is being granted (or denied) access.


toString

String toString()


 

Groovy Documentation