org.apache.tools.ant.taskdefs.optional.ccm

Class CCMCreateTask

public class CCMCreateTask extends Continuus implements ExecuteStreamHandler

Creates new Continuus ccm task and sets it as the default.

UNKNOWN: name="ccmcreatetask" category="scm"

Field Summary
static StringFLAG_COMMENT
/comment -- comments associated to the task
static StringFLAG_PLATFORM
/platform flag -- target platform
static StringFLAG_RELEASE
/release flag
static StringFLAG_RESOLVER
/resolver flag
static StringFLAG_SUBSYSTEM
/release flag
static StringFLAG_TASK
-task flag -- associate checkout task with task
Constructor Summary
CCMCreateTask()
Method Summary
voidexecute()
Executes the task.
StringgetComment()
Get the value of comment.
StringgetPlatform()
Get the value of platform.
StringgetRelease()
Get the value of release.
StringgetResolver()
Get the value of resolver.
StringgetSubSystem()
Get the value of subSystem.
StringgetTask()
Get the value of task.
voidsetComment(String v)
Specifies a comment.
voidsetPlatform(String v)
Specifies the target platform.
voidsetProcessErrorStream(InputStream is)
voidsetProcessInputStream(OutputStream param1)
voidsetProcessOutputStream(InputStream is)
read the output stream to retrieve the new task number.
voidsetRelease(String v)
Specify the CCM release.
voidsetResolver(String v)
Specifies the resolver.
voidsetSubSystem(String v)
Specifies the subsystem.
voidsetTask(String v)
Specifies the task number used to checkin the file (may use 'default').
voidstart()
voidstop()

Field Detail

FLAG_COMMENT

public static final String FLAG_COMMENT
/comment -- comments associated to the task

FLAG_PLATFORM

public static final String FLAG_PLATFORM
/platform flag -- target platform

FLAG_RELEASE

public static final String FLAG_RELEASE
/release flag

FLAG_RESOLVER

public static final String FLAG_RESOLVER
/resolver flag

FLAG_SUBSYSTEM

public static final String FLAG_SUBSYSTEM
/release flag

FLAG_TASK

public static final String FLAG_TASK
-task flag -- associate checkout task with task

Constructor Detail

CCMCreateTask

public CCMCreateTask()

Method Detail

execute

public void execute()
Executes the task.

Builds a command line to execute ccm and then calls Exec's run method to execute the command line.

getComment

public String getComment()
Get the value of comment.

Returns: value of comment.

getPlatform

public String getPlatform()
Get the value of platform.

Returns: value of platform.

getRelease

public String getRelease()
Get the value of release.

Returns: value of release.

getResolver

public String getResolver()
Get the value of resolver.

Returns: value of resolver.

getSubSystem

public String getSubSystem()
Get the value of subSystem.

Returns: value of subSystem.

getTask

public String getTask()
Get the value of task.

Returns: value of task.

setComment

public void setComment(String v)
Specifies a comment.

Parameters: v Value to assign to comment.

setPlatform

public void setPlatform(String v)
Specifies the target platform.

Parameters: v Value to assign to platform.

setProcessErrorStream

public void setProcessErrorStream(InputStream is)

Parameters: is

Throws: java.io.IOException

setProcessInputStream

public void setProcessInputStream(OutputStream param1)

Parameters: param1

Throws: java.io.IOException

setProcessOutputStream

public void setProcessOutputStream(InputStream is)
read the output stream to retrieve the new task number.

Parameters: is InputStream

Throws: java.io.IOException

setRelease

public void setRelease(String v)
Specify the CCM release.

Parameters: v Value to assign to release.

setResolver

public void setResolver(String v)
Specifies the resolver.

Parameters: v Value to assign to resolver.

setSubSystem

public void setSubSystem(String v)
Specifies the subsystem.

Parameters: v Value to assign to subSystem.

setTask

public void setTask(String v)
Specifies the task number used to checkin the file (may use 'default').

Parameters: v Value to assign to task.

start

public void start()

Throws: java.io.IOException

stop

public void stop()
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.