bee

bee.api

Project

Project()

getRoot()psychopath.Directory

psychopath.Directory

A root directory of this project.

Return project root directory.

getGroup()String

String

The product group.

Return product group.

getProduct()String

String

The product name.

Return product name.

getVersion()String

String

The product version.

Return product version.

product(CharSequencegroup, CharSequenceproduct, CharSequenceversion)void

CharSequencegroup

A product group.

CharSequenceproduct

A product name.

CharSequenceversion

A product version.

Declare product package, name and version.

getDescription()String

String

The product description.

Return product description.

describe(Stringdescription)void

Stringdescription

A product description.

Declare product description.

license()License

License

Returns project license.

license(Licenselicense)void

Licenselicense

Set product license.

licenser(intlicensedFrom, StringlicensedBy)void

intlicensedFrom
StringlicensedBy

Add product licenser.

licenser(intlicensedFrom, intlicensedTo, StringlicensedBy)void

intlicensedFrom
intlicensedTo
StringlicensedBy

Add product licenser.

getEncoding()Charset

Charset

Returns project encoding.

encoding(Charsetencoding)void

Charsetencoding

Set product encoding.

hasDependency(StringprojectName, StringproductName)boolean

StringprojectName

A project name to search.

StringproductName

A product name to search.

boolean

A search result.

Check whether this project depends on the specified product or not.

getDependency(Scopescopes)SetLibrary

Scopescopes
SetLibrary

Resolve all dependencies for the specified scope.

getLibrary(StringprojectName, StringproductName)SetLibrary

StringprojectName
StringproductName
SetLibrary

Find Library by name.

getLibrary(StringprojectName, StringproductName, Stringversion)SetLibrary

StringprojectName
StringproductName
Stringversion
SetLibrary

Find Library by name.

getClasspath()SetString

SetString

Gather all classpaths needed to run this project.

requireLombok()Library

Library

Declare dependency against to Lombok library.

require(StringprojectName, StringproductName)Library

StringprojectName

A project name.

StringproductName

A product name.

Library

A dependency.

Declare dependency for latest version.

require(StringprojectName, StringproductName, Stringversion)Library

StringprojectName

A project name.

StringproductName

A product name.

Stringversion

A product version.

Library

A dependency.

Declare dependency.

require(StringprojectName, StringproductName, Stringclassifier, Stringversion)Library

StringprojectName

A project name.

StringproductName

A product name.

Stringclassifier

A product classifier.

Stringversion

A product version.

Library

A dependency.

Declare dependency.

getJavaSourceVersion()SourceVersion

SourceVersion

A Java version requirement.

Returns Java version requirement.

getJavaRequiredVersion()SourceVersion

SourceVersion

A Java version requirement.

Returns Java version requirement.

require(SourceVersionversion)void

SourceVersionversion

A Java version to require.

Declare Java version requirement.

require(SourceVersionsourceVersion, SourceVersionrequiredJavaVersion)void

SourceVersionsourceVersion

A Java source version to require.

SourceVersionrequiredJavaVersion

A Java target version to require.

Declare Java version requirement.

unrequire(StringprojectName, StringproductName)void

StringprojectName

A project name.

StringproductName

A product name.

Exclude the specified library from transitive dependency resolution.

repository(Stringuri)void

Stringuri

Add new repository by URI.

getInput()psychopath.Directory

psychopath.Directory

The base input directory.

Get the bese directory of input.

setInput(psychopath.Directoryinput)void

psychopath.Directoryinput

The base input directory to set.

Set base directory of input. null will set default directory. A relative path will be resolved from project root directory.

setInput(Stringinput)void

Stringinput

The base input directory to set.

Set base directory of input. null will set default directory. A relative path will be resolved from project root directory.

getOutput()psychopath.Directory

psychopath.Directory

The base output directory.

Get the bese directory of output.

setOutput(psychopath.Directoryoutput)void

psychopath.Directoryoutput

The base output directory to set.

Set base directory of output. null will set default directory. A relative path will be resolved from project root directory.

setOutput(Stringoutput)void

Stringoutput

The base output directory to set.

Set base directory of output. null will set default directory. A relative path will be resolved from project root directory.

getSources()psychopath.Directory

psychopath.Directory

Returns source directories.

getSourceSet()kiss.Signalpsychopath.Directory

kiss.Signalpsychopath.Directory

Returns source directories.

getClasses()psychopath.Directory

psychopath.Directory

Returns class directory.

getTestSources()psychopath.Directory

psychopath.Directory

Returns test source directories.

getTestSourceSet()kiss.Signalpsychopath.Directory

kiss.Signalpsychopath.Directory

Returns test source directories.

getTestClasses()psychopath.Directory

psychopath.Directory

Returns test class directory.

getProjectSources()psychopath.Directory

psychopath.Directory

Returns project source directories.

getProjectSourceSet()kiss.Signalpsychopath.Directory

kiss.Signalpsychopath.Directory

Returns project source directories.

getProjectClasses()psychopath.Directory

psychopath.Directory

Returns project class directory.

getProjectDefinition()psychopath.File

psychopath.File

Returns project source file.

getProjectDefintionClass()psychopath.File

psychopath.File

Returns project source file.

getAnnotationProcessors()Setpsychopath.Location

Setpsychopath.Location

Resolve all annotation processor for this project.

locateJar()psychopath.File

psychopath.File

Locate product jar file.

locateSourceJar()psychopath.File

psychopath.File

Locate product source jar file.

locateJavadocJar()psychopath.File

psychopath.File

Locate product javadoc jar file.

getVersionControlSystem()VCS

VCS

A uri of version control system.

Get the VCS.

versionControlSystem(Stringuri)void

Stringuri

A uri of version control system.

Locate VCS.

config(ClassTtask, ConsumerCconfiguration)void

TTaskC
C
ClassTtask
ConsumerCconfiguration

config(ClassTtask)C

TTaskC
C
ClassTtask
C

asLibrary()Library

Library

Convert this project to Library.

associate(ClassAtype)A

A
ClassAtype
A

Retrieve the project related object of the specified type.

hashCode()int

int

equals(Objectobj)boolean

Objectobj
boolean

toBeeDefinition()ListString

ListString

Returns literal project definition.

toMavenDefinition()String

String

Returns literal of POM file.

ref(Stringfile)CharSequence

Stringfile

A path to the target text file.

CharSequence

A file contents.

Return the reference of the specified file's text.

ref(Pathfile)CharSequence

Pathfile

A target text file.

CharSequence

A file contents.

Return the reference of the specified file's text.

ref(psychopath.Filefile)CharSequence

psychopath.Filefile

A target text file.

CharSequence

A file contents.

Return the reference of the specified file's text.