org.apache.tools.ant.taskdefs.optional.perforce
public class P4Submit extends P4Base
Modifier and Type | Class and Description |
---|---|
class |
P4Submit.P4SubmitAdapter
internal class used to process the output of p4 submit
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
change
change list number
|
failOnError, P4Client, P4CmdOpts, P4Opts, P4Port, P4User, P4View, shell, util
description, location, project
Constructor and Description |
---|
P4Submit() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
do the work
|
void |
setChange(java.lang.String change)
set the change list number to submit
|
void |
setChangeProperty(java.lang.String changeProperty)
property defining the change number if the change number gets renumbered
|
void |
setNeedsResolveProperty(java.lang.String needsResolveProperty)
property defining the need to resolve the change list
|
execP4Command, execP4Command, getErrorMessage, getInError, init, setClient, setCmdopts, setErrorMessage, setFailonerror, setGlobalopts, setInError, setPort, setUser, setView
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void setChange(java.lang.String change)
change
- The changelist number to submit; required.public void setChangeProperty(java.lang.String changeProperty)
changeProperty
- name of a new property to which the change number
will be assigned if it changespublic void setNeedsResolveProperty(java.lang.String needsResolveProperty)
needsResolveProperty
- a property which will be set if the change needs resolvepublic void execute() throws BuildException
execute
in class Task
BuildException
- if no change list specified