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 boolean
equals(Object other)
Method equalsString
getDescription()
Get nullString
getName()
Get nullint
hashCode()
Method hashCodeboolean
isPermanent()
Test to see if the object is a permanent object or not.boolean
isResourceRequired()
Get true if the resource is required for authorization to be grantedvoid
setDescription(String description)
Set nullvoid
setName(String name)
Set nullvoid
setPermanent(boolean permanent)
Set flag indicating if the object is a permanent object or not.void
setResourceRequired(boolean resourceRequired)
Set true if the resource is required for authorization to be grantedString
toString()
Method toString
-
-
-
Constructor Detail
-
MemoryOperation
public MemoryOperation()
-
-
Method Detail
-
getDescription
public String getDescription()
Get null- Specified by:
getDescription
in 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:
setDescription
in 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:Operation
Test to see if the object is a permanent object or not.- Specified by:
isPermanent
in interfaceOperation
- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:Operation
Set flag indicating if the object is a permanent object or not.- Specified by:
setPermanent
in interfaceOperation
- Parameters:
permanent
- true if the object is permanent.
-
-