public class RevisionInfo extends Object
Constructor and Description |
---|
RevisionInfo() |
Modifier and Type | Method and Description |
---|---|
RevisionAction |
getAction()
Action (accept or reject).
|
String |
getAuthor()
Author.
|
String |
getText()
The text that is in revision.
|
RevisionType |
getType()
RevisionHandler type, depending on the type the Action (accept or reject) logic changes.
|
void |
setAction(RevisionAction action)
Action (accept or reject).
|
void |
setAuthor(String author)
Author.
|
void |
setText(String text)
The text that is in revision.
|
void |
setType(RevisionType type)
RevisionHandler type, depending on the type the Action (accept or reject) logic changes.
|
public RevisionAction getAction()
public String getAuthor()
public String getText()
public RevisionType getType()
public void setAction(RevisionAction action)
action
- the actionpublic void setAuthor(String author)
author
- the authorpublic void setText(String text)
text
- the textpublic void setType(RevisionType type)
type
- the type