public class VersionRestoreParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VersionRestoreParameters.VersionRestoreParametersBuilder |
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE |
static String |
RESTORE_TITLE |
static String |
VERSION_NUMBER |
Modifier and Type | Method and Description |
---|---|
static VersionRestoreParameters.VersionRestoreParametersBuilder |
builder()
builder method for VersionRestoreParameter
|
boolean |
equals(Object o) |
static VersionRestoreParameters |
fromMap(Map<String,String> propertyBag)
Create a VersionRestoreParameters by extracting the value from property bag.
|
String |
getMessage()
After restore we create a new version with this message associated.
|
boolean |
getRestoreTitle()
If true, we restore the content title to be same as the version we restore from.
|
int |
getVersionNumber()
The version number of content to restore from.
|
int |
hashCode() |
Map<String,String> |
toMap() |
public static final String VERSION_NUMBER
public static final String MESSAGE
public static final String RESTORE_TITLE
public static VersionRestoreParameters.VersionRestoreParametersBuilder builder()
public static VersionRestoreParameters fromMap(Map<String,String> propertyBag)
propertyBag
- public int getVersionNumber()
public String getMessage()
public boolean getRestoreTitle()
Copyright © 2003–2016 Atlassian. All rights reserved.