class AsakusafwAssembly extends java.lang.Object
Assembly definitions for organizing Asakusa Framework distribution packages.
Type | Name and description |
---|---|
java.util.LinkedList<groovy.lang.Closure<?>> |
extraOperations The common extra operations which are available for all handlers in this assembly. |
java.util.List<AssemblyHandler> |
handlers The assembly definition fragments. |
java.lang.String |
name The assembly name. |
Constructor and description |
---|
AsakusafwAssembly
(java.lang.String name) Creates a new instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
org.gradle.api.tasks.TaskDependency |
getBuildDependencies() |
|
AssemblyHandler |
into(java.lang.Object target) Adds an assembly definition. |
|
AssemblyHandler |
into(java.lang.Object target, groovy.lang.Closure<?> configurator) Adds an assembly definition and configures it. |
|
AsakusafwAssembly |
process(groovy.lang.Closure<?> operation) Adds extra operations for all assembly definitions. |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The common extra operations which are available for all handlers in this assembly.
The assembly definition fragments.
The assembly name.
Creates a new instance.
project
- the target projectname
- the assembly nameAdds an assembly definition.
target
- the target directory path (relative from assembly package root)Adds an assembly definition and configures it.
target
- the target directory path (relative from assembly package root)configurator
- a closure that configures the target assembly definitionAdds extra operations for all assembly definitions. The closure will receive CopySpec object for building the target assembly.
operation
- the extra operationCopyright 2011-2019 Asakusa Framework Team.