Class MemoryResource
- java.lang.Object
-
- org.apache.archiva.redback.rbac.memory.MemoryResource
-
- All Implemented Interfaces:
Serializable,Resource
public class MemoryResource extends Object implements Resource, Serializable
MemoryResource- Author:
- Joakim Erdfelt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equalsStringgetIdentifier()Get The string identifier for an operation.inthashCode()Method hashCodebooleanisPattern()Get true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foobooleanisPermanent()Test to see if the object is a permanent object or not.voidsetIdentifier(String identifier)Set The string identifier for an operation.voidsetPattern(boolean pattern)Set true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foovoidsetPermanent(boolean permanent)Set flag indicating if the object is a permanent object or not.StringtoString()Method toString
-
-
-
Constructor Detail
-
MemoryResource
public MemoryResource()
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get The string identifier for an operation.- Specified by:
getIdentifierin interfaceResource
-
isPattern
public boolean isPattern()
Get true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foo
-
setIdentifier
public void setIdentifier(String identifier)
Set The string identifier for an operation.- Specified by:
setIdentifierin interfaceResource- Parameters:
identifier-
-
setPattern
public void setPattern(boolean pattern)
Set true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foo- Specified by:
setPatternin interfaceResource- Parameters:
pattern-
-
isPermanent
public boolean isPermanent()
Description copied from interface:ResourceTest to see if the object is a permanent object or not.- Specified by:
isPermanentin interfaceResource- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:ResourceSet flag indicating if the object is a permanent object or not.- Specified by:
setPermanentin interfaceResource- Parameters:
permanent- true if the object is permanent.
-
-