public interface ProjectProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_DIRECTORY_NAME
Directory name for the cache.
|
static String |
EXPLODED_WAR_DIRECTORY_NAME
Directory name for the exploded WAR.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureEventHandlers(Containerizer containerizer)
Adds the plugin's event handlers to a containerizer.
|
JibContainerBuilder |
createJibContainerBuilder(JavaContainerBuilder javaContainerBuilder,
ContainerizingMode containerizingMode)
Starts the containerization process.
|
List<Path> |
getClassFiles() |
Path |
getDefaultCacheDirectory() |
String |
getJarPluginName() |
String |
getMainClassFromJar() |
int |
getMajorJavaVersion() |
String |
getName() |
Path |
getOutputDirectory() |
String |
getPluginName() |
String |
getToolName() |
String |
getVersion() |
boolean |
isOffline() |
boolean |
isWarProject() |
void |
log(LogEvent logEvent) |
void |
waitForLoggingThread() |
static final String CACHE_DIRECTORY_NAME
static final String EXPLODED_WAR_DIRECTORY_NAME
void waitForLoggingThread()
void configureEventHandlers(Containerizer containerizer)
containerizer - the containerizer to add event handlers tovoid log(LogEvent logEvent)
String getToolName()
String getPluginName()
JibContainerBuilder createJibContainerBuilder(JavaContainerBuilder javaContainerBuilder, ContainerizingMode containerizingMode) throws IOException
javaContainerBuilder - Java container builder to start withcontainerizingMode - mode to containerize the appJibContainerBuilder with classes, resources, and dependencies added to itIOException - if there is a problem walking the project filesList<Path> getClassFiles() throws IOException
IOExceptionPath getDefaultCacheDirectory()
String getJarPluginName()
@Nullable String getMainClassFromJar()
boolean isWarProject()
String getName()
String getVersion()
Path getOutputDirectory()
int getMajorJavaVersion()
boolean isOffline()
Copyright © 2019. All rights reserved.