public class P4Change extends P4Base
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.lang.String |
emptyChangeList |
failOnError, P4Client, P4CmdOpts, P4Opts, P4Port, P4User, P4View, shell, utillocation, project| Constructor and Description |
|---|
P4Change() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
backslash(java.lang.String value)
Ensure that a string is backslashing slashes so that it does not
confuse them with Perl substitution delimiter in Oro.
|
void |
execute()
creates a new Perforce change list
sets the p4.change property to the number of the new change list
|
java.lang.String |
getEmptyChangeList()
returns the text of an empty change list
|
void |
setDescription(java.lang.String desc)
Description for ChangeList;optional.
|
execP4Command, execP4Command, getErrorMessage, getInError, init, setClient, setCmdopts, setErrorMessage, setFailonerror, setGlobalopts, setInError, setPort, setUser, setViewbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setLocation, setProjectprotected java.lang.String emptyChangeList
protected java.lang.String description
public void execute()
throws BuildException
execute in class TaskBuildException - if the word error appears in the output coming from Perforcepublic java.lang.String getEmptyChangeList()
throws BuildException
BuildException - if the text error is displayed
in the Perforce output outside of a comment linepublic static final java.lang.String backslash(java.lang.String value)
value - the string to backslash for slashespublic void setDescription(java.lang.String desc)
setDescription in class ProjectComponentdesc - description for the change list