public class AugmentPhase extends Object implements AppCreationPhase<AugmentPhase>, AugmentOutcome
CurateOutcome and processes
user application and and its dependency classes for phases that generate a runnable application.| Constructor and Description |
|---|
AugmentPhase() |
| Modifier and Type | Method and Description |
|---|---|
Path |
getAppClassesDir()
Directory containing original user application classes.
|
Path |
getConfigDir()
Directory containing config files used by the application
|
String |
getConfigPropertyName() |
PropertiesHandler<AugmentPhase> |
getPropertiesHandler() |
Path |
getTransformedClassesDir()
Directory containing bytecode-transformed user application classes.
|
Path |
getWiringClassesDir()
Directory containing classes generated during augmentation.
|
void |
provideOutcome(AppCreator ctx)
Invoked by the router to process the phase.
|
void |
register(OutcomeProviderRegistration registration)
Invoked during when a handler is added to the phase router.
|
AugmentPhase |
setAppClassesDir(Path appClassesDir)
Directory containing application classes.
|
AugmentPhase |
setConfigDir(Path configDir)
Directory containing the configuration files.
|
AugmentPhase |
setOutputDir(Path outputDir)
Output directory for the outcome of this phase.
|
AugmentPhase |
setTransformedClassesDir(Path transformedClassesDir)
Directory containing transformed application classes.
|
AugmentPhase |
setWiringClassesDir(Path wiringClassesDir)
The directory for generated classes.
|
public AugmentPhase setOutputDir(Path outputDir)
outputDir - output directory for this phasepublic AugmentPhase setAppClassesDir(Path appClassesDir)
appClassesDir - directory for application classespublic AugmentPhase setTransformedClassesDir(Path transformedClassesDir)
transformedClassesDir - directory for transformed application classespublic AugmentPhase setWiringClassesDir(Path wiringClassesDir)
wiringClassesDir - directory for generated classespublic AugmentPhase setConfigDir(Path configDir)
configDir - directory the configuration files (application.properties)public Path getAppClassesDir()
AugmentOutcomegetAppClassesDir in interface AugmentOutcomepublic Path getTransformedClassesDir()
AugmentOutcomegetTransformedClassesDir in interface AugmentOutcomepublic Path getWiringClassesDir()
AugmentOutcomegetWiringClassesDir in interface AugmentOutcomepublic Path getConfigDir()
AugmentOutcomegetConfigDir in interface AugmentOutcomepublic void register(OutcomeProviderRegistration registration) throws AppCreatorException
OutcomeProviderregister in interface OutcomeProvider<AppCreator>registration - registration callbackAppCreatorException - in case of a failurepublic void provideOutcome(AppCreator ctx) throws AppCreatorException
OutcomeProviderprovideOutcome in interface OutcomeProvider<AppCreator>ctx - phase processing contextAppCreatorException - in case of a failurepublic String getConfigPropertyName()
getConfigPropertyName in interface Configurable<AugmentPhase>public PropertiesHandler<AugmentPhase> getPropertiesHandler()
getPropertiesHandler in interface Configurable<AugmentPhase>Copyright © 2019 JBoss by Red Hat. All rights reserved.