Package | Description |
---|---|
com.asakusafw.utils.gradle |
Asakusa Framework integration utilities.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
Bundle.clean()
Removes all files on this bundle excepts the content root directory.
|
Bundle |
Bundle.clean(String path)
Removes target resource on the bundle only if it exists.
|
Bundle |
Bundle.copy(Path source)
Copies files from the given directory into bundle root.
|
Bundle |
Bundle.copy(Path source,
String onto)
Copies files from the given file or directory onto the path.
|
Bundle |
Bundle.extract(Path source)
Copies files from the given file or directory into bundle root.
|
Bundle |
Bundle.extract(Path source,
String onto)
Copies files from the given file or directory onto the path.
|
Bundle |
Bundle.find(String path,
TryConsumer<? super Path,IOException> configurator)
Returns a file on this bundle.
|
Bundle |
Bundle.get(String path,
TryConsumer<? super Path,IOException> configurator)
Process a file on the bundle.
|
protected Bundle |
BaseProject.getBundle(Path path)
Returns a project related bundle.
|
Bundle |
BaseProject.getContents()
Returns the project bundle.
|
Bundle |
Bundle.put(String path,
TryConsumer<? super Path,IOException> configurator)
Creates a file.
|
Bundle |
Bundle.withLaunch(String command,
String... arguments)
Launches the command, or raise exception if the command failed.
|
Modifier and Type | Method and Description |
---|---|
TSelf |
BaseProject.withContents(TryConsumer<? super Bundle,IOException> configurator)
Returns the project bundle.
|
Constructor and Description |
---|
ContentsConfigurator(TryConsumer<? super Bundle,IOException> action)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.