|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.replication.ReplicationAction
public class ReplicationAction
Defines the control information of a replication
| Field Summary | |
|---|---|
static String |
EVENT_TOPIC
Event topic for replication status events. |
static String |
PROPERTY_MODIFICATION_DATE
The OSGi event property containing the modification date |
static String |
PROPERTY_PATH
The OSGi event property containing the path |
static String |
PROPERTY_REVISION
The OSGi event property containing the replicated revision (optional) |
static String |
PROPERTY_TYPE
The OSGi event property containing replication action |
static String |
PROPERTY_USER_ID
The OSGi event property containing the user id |
| Constructor Summary | |
|---|---|
ReplicationAction(ReplicationActionType type,
String path,
long time,
String userId,
String revision)
|
|
| Method Summary | |
|---|---|
org.apache.sling.event.EventPropertiesMap |
createProperties()
Create the properties. |
static ReplicationAction |
fromEvent(org.osgi.service.event.Event evt)
Convert an OSGi event to a replication event. |
String |
getPath()
Returns the path |
String |
getRevision()
Returns the revision |
long |
getTime()
Returns the replication time |
ReplicationActionType |
getType()
Returns the action type |
String |
getUserId()
Returns the user id. |
org.osgi.service.event.Event |
toEvent()
Create an OSGi event out of the replication event. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String EVENT_TOPIC
public static final String PROPERTY_MODIFICATION_DATE
public static final String PROPERTY_USER_ID
public static final String PROPERTY_PATH
public static final String PROPERTY_TYPE
public static final String PROPERTY_REVISION
| Constructor Detail |
|---|
public ReplicationAction(ReplicationActionType type,
String path,
long time,
String userId,
String revision)
| Method Detail |
|---|
public ReplicationActionType getType()
public String getPath()
public String getRevision()
public long getTime()
public String getUserId()
public String toString()
toString in class Objectpublic static ReplicationAction fromEvent(org.osgi.service.event.Event evt)
evt - The OSGi event
public org.apache.sling.event.EventPropertiesMap createProperties()
public org.osgi.service.event.Event toEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||