|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.graph.observe.Changes
@Immutable public class Changes

A set of changes that were made atomically. Each change is in the form of a frozen ChangeRequest.
| Constructor Summary | |
|---|---|
Changes(String processId,
String contextId,
String userName,
String sourceName,
DateTime timestamp,
List<ChangeRequest> requests)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Changes that)
|
boolean |
equals(Object obj)
|
List<ChangeRequest> |
getChangeRequests()
Get the list of changes. |
String |
getContextId()
Get the identifier of the ExecutionContext where these changes originated. |
String |
getProcessId()
Get the identifier of the process where these changes originated. |
String |
getSourceName()
Get the name of the source that was changed. |
DateTime |
getTimestamp()
Get the timestamp that the changes were made. |
String |
getUserName()
Get the user that made these changes. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Changes(String processId,
String contextId,
String userName,
String sourceName,
DateTime timestamp,
List<ChangeRequest> requests)
| Method Detail |
|---|
public String getUserName()
SecurityContext.getUserName()public String getSourceName()
public DateTime getTimestamp()
public String getProcessId()
public String getContextId()
identifier of the ExecutionContext where these changes originated. This
identifier may be useful in preventing feedbacks.
public List<ChangeRequest> getChangeRequests()
public int hashCode()
hashCode in class ObjectObject.hashCode()public int compareTo(Changes that)
compareTo in interface Comparable<Changes>Comparable.compareTo(java.lang.Object)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||