Class Version
- java.lang.Object
-
- org.alfresco.module.org_alfresco_module_rm.script.slingshot.Version
-
@AlfrescoPublicApi public class Version extends Object
Recordable version class- Since:
- 2.3
- Author:
- Tuna Aksoy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPolicy()
Gets the version policyboolean
isSelected()
Is the version selected
-
-
-
Constructor Detail
-
Version
public Version(String policy, boolean selected)
Constructor- Parameters:
policy
- The version policyselected
- Is the version selected
-
-
Method Detail
-
getPolicy
public String getPolicy()
Gets the version policy- Returns:
- The version policy
-
isSelected
public boolean isSelected()
Is the version selected- Returns:
true
if the version is selected,false
otherwise
-
-