public class PrintGraphTask
extends org.apache.tools.ant.Task
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_GAV
Default format with GAV: group:artifact:version:type:classifier
|
static int |
FORMAT_KV_F_GAV
Key-value format: FILENAME=GAV
|
static String |
MODE_FLAT
In flat mode, root nodes are not printed
|
static String |
MODE_SDK
In sdk mode, root nodes are not printed
|
static String |
MODE_TREE |
Constructor and Description |
---|
PrintGraphTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setAppend(boolean append)
Output append mode
|
void |
setFormat(int format)
Defines output format
|
void |
setMode(String mode) |
void |
setOutput(String output) |
void |
setScopes(String scopes) |
void |
setSource(String source)
If set, print another graph than the current one
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public static final int FORMAT_GAV
public static final int FORMAT_KV_F_GAV
public static final String MODE_SDK
public static final String MODE_FLAT
public static final String MODE_TREE
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setOutput(String output)
public void setMode(String mode)
public void setFormat(int format)
format
- public void setAppend(boolean append)
append
- public void setSource(String source)
source
- GAV key of root node to expand as a graphpublic void setScopes(String scopes)
scopes
- Comma separated list of scopes to include. Defaults to
"compile,runtime,system".Copyright © 2016 Nuxeo SA. All Rights Reserved.