public class StyleBook extends Java
Being extended from <Java>, all the parent's attributes and options are available. Do not set any apart from the classpath as they are not guaranteed to be there in future.
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
m_book
Deprecated.
|
protected java.lang.String |
m_loaderConfig
Deprecated.
|
protected java.io.File |
m_skinDirectory
Deprecated.
|
protected java.io.File |
m_targetDirectory
Deprecated.
|
redirector, redirectorElement
description, location, project
Constructor and Description |
---|
StyleBook()
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
call the program
|
void |
setBook(java.io.File book)
Deprecated.
Set the book xml file that the documentation generation starts from;
required.
|
void |
setLoaderConfig(java.lang.String loaderConfig)
Deprecated.
A loader configuration to send to stylebook; optional.
|
void |
setSkinDirectory(java.io.File skinDirectory)
Deprecated.
Set the directory that contains the stylebook skin;
required.
|
void |
setTargetDirectory(java.io.File targetDirectory)
Deprecated.
Set the destination directory where the documentation is generated;
required.
|
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, checkConfiguration, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
protected java.io.File m_targetDirectory
protected java.io.File m_skinDirectory
protected java.lang.String m_loaderConfig
protected java.io.File m_book
public void setBook(java.io.File book)
book
- the source filepublic void setSkinDirectory(java.io.File skinDirectory)
skinDirectory
- the location of the stylebook skinpublic void setTargetDirectory(java.io.File targetDirectory)
targetDirectory
- the document output directorypublic void setLoaderConfig(java.lang.String loaderConfig)
loaderConfig
- the configuration to use.public void execute() throws BuildException
execute
in class Java
BuildException
- if there is a problem.