|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.api.RobotMessage
public class RobotMessage
Container class for messages to and from the P4Robot. This message is sent to the robot by the P4ReviewerService and any other application that wants to instruct the P4Robot to synchronize with the P4 depot in a particular way.
The key to this is the views that are a part of this. Each view will be used in executing "p4 sync" on the P4Robot. If the SYNC_FORCE flag is specified, then the views are all executed with "p4 sync -f". If the SYNC_ALL flag is specified, the views are ignored and one "p4 sync //..." is executed (with the -f flag, if that is also specified).
| Field Summary | |
|---|---|
static int |
SYNC_ALL
Deprecated. Indicates that the views should be ignored and "p4 sync //..." is run |
static int |
SYNC_FORCE
Deprecated. Indicates that the "p4 sync" should be run with the -f option |
| Constructor Summary | |
|---|---|
RobotMessage()
Deprecated. Default no-argument constructor. |
|
RobotMessage(Change change)
Deprecated. Constructs a RobotMessage using the specified Change. |
|
| Method Summary | |
|---|---|
void |
addView(java.lang.String view)
Deprecated. Add a view. |
void |
clearViews()
Deprecated. Clear all view information. |
int |
getFlags()
Deprecated. Returns the flags that are set. |
int |
getViewCount()
Deprecated. Returns the number of views in this. |
java.util.Enumeration |
getViews()
Deprecated. Returns an enumeration of the views. |
void |
setFlags(int flags)
Deprecated. Sets the flags. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SYNC_FORCE
public static final int SYNC_ALL
| Constructor Detail |
|---|
public RobotMessage()
public RobotMessage(Change change)
change - Change to be used in constructing this.| Method Detail |
|---|
public void addView(java.lang.String view)
view - Single view to be added.public void clearViews()
public int getViewCount()
public java.util.Enumeration getViews()
public void setFlags(int flags)
flags - New value for the flagsSYNC_FORCE,
SYNC_ALLpublic int getFlags()
SYNC_FORCE,
SYNC_ALL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||