Class MemoryOperation
- java.lang.Object
-
- org.apache.archiva.redback.rbac.memory.MemoryOperation
-
- All Implemented Interfaces:
Serializable,Operation
public class MemoryOperation extends Object implements Operation, Serializable
MemoryOperation- Author:
- Joakim Erdfelt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equalsStringgetDescription()Get nullStringgetName()Get nullinthashCode()Method hashCodebooleanisPermanent()Test to see if the object is a permanent object or not.booleanisResourceRequired()Get true if the resource is required for authorization to be grantedvoidsetDescription(String description)Set nullvoidsetName(String name)Set nullvoidsetPermanent(boolean permanent)Set flag indicating if the object is a permanent object or not.voidsetResourceRequired(boolean resourceRequired)Set true if the resource is required for authorization to be grantedStringtoString()Method toString
-
-
-
Constructor Detail
-
MemoryOperation
public MemoryOperation()
-
-
Method Detail
-
getDescription
public String getDescription()
Get null- Specified by:
getDescriptionin interfaceOperation- Returns:
- String
-
isResourceRequired
public boolean isResourceRequired()
Get true if the resource is required for authorization to be granted
-
setDescription
public void setDescription(String description)
Set null- Specified by:
setDescriptionin interfaceOperation- Parameters:
description-
-
setResourceRequired
public void setResourceRequired(boolean resourceRequired)
Set true if the resource is required for authorization to be granted- Parameters:
resourceRequired-
-
isPermanent
public boolean isPermanent()
Description copied from interface:OperationTest to see if the object is a permanent object or not.- Specified by:
isPermanentin interfaceOperation- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:OperationSet flag indicating if the object is a permanent object or not.- Specified by:
setPermanentin interfaceOperation- Parameters:
permanent- true if the object is permanent.
-
-