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 boolean
equals(Object other)
Method equalsString
getIdentifier()
Get The string identifier for an operation.int
hashCode()
Method hashCodeboolean
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.fooboolean
isPermanent()
Test to see if the object is a permanent object or not.void
setIdentifier(String identifier)
Set The string identifier for an operation.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.foovoid
setPermanent(boolean permanent)
Set flag indicating if the object is a permanent object or not.String
toString()
Method toString
-
-
-
Constructor Detail
-
MemoryResource
public MemoryResource()
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get The string identifier for an operation.- Specified by:
getIdentifier
in 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:
setIdentifier
in 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:
setPattern
in interfaceResource
- Parameters:
pattern
-
-
isPermanent
public boolean isPermanent()
Description copied from interface:Resource
Test to see if the object is a permanent object or not.- Specified by:
isPermanent
in interfaceResource
- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:Resource
Set flag indicating if the object is a permanent object or not.- Specified by:
setPermanent
in interfaceResource
- Parameters:
permanent
- true if the object is permanent.
-
-