public interface ExecutionBuilder extends Remote
| Modifier and Type | Field and Description |
|---|---|
static String |
LOOKUP_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserRulesPath(String rulesPath)
Adds a custom uer rules path.
|
void |
addUserRulesPaths(Iterable<String> rulesPath)
Adds a set of custom uer rules paths.
|
void |
clear()
Clears the configuration information.
|
void |
excludePackage(String excludePackagePrefix)
Sets the package name prefixes to ignore.
|
void |
excludePackages(Collection<String> excludePackagePrefixes)
Sets a list of package name prefixes to ignore.
|
ExecutionResults |
execute()
Execute windup.
|
String |
getEnv(String name)
Returns the system environment variable value.
|
RuleProviderRegistry |
getRuleProviderRegistry(List<String> paths)
Returns the registry containing the rule providers.
|
RuleProviderRegistry |
getSystemRuleProviderRegistry()
Returns the registry containing the system rule providers.
|
String |
getVersion()
Returns the Windup version.
|
void |
ignore(String ignorePattern)
Sets a pattern of file paths to ignore during processing.
|
void |
includePackage(String includePackagePrefix)
Sets the package name prefixes to scan (the default is to scan all packages).
|
void |
includePackages(Collection<String> includePackagePrefixes)
Includes the provided list of package prefixes.
|
void |
setInput(Set<String> input)
Sets the input path(s) (list of application source directories, or application binary files).
|
void |
setOption(String name,
Object value)
Sets the option with the specified name to the specified value.
|
void |
setOutput(String output)
Sets the output path for Windup (where the graph will be stored, and where the reports will be generated).
|
void |
setProgressMonitor(WindupToolingProgressMonitor monitor)
Sets the callback that will be used for monitoring progress.
|
void |
setVersion(String version)
Sets the version of Windup.
|
void |
setWindupHome(String windupHome)
Start building a Windup execution with a windup that is installed at the specified path.
|
void |
skipReportGeneration()
Indicates that Windup should not generate reports at the end.
|
void |
sourceOnlyMode()
Switches the engine to run in source only mode (no decompilation).
|
void |
terminate()
Terminates the runtime that registered this ExecutionBuilder.
|
String |
transform(String transformationID,
QuickfixLocationDTO locationDTO)
Executes the quickfix transformation.
|
static final String LOOKUP_NAME
void setWindupHome(String windupHome) throws RemoteException
RemoteExceptionvoid setProgressMonitor(WindupToolingProgressMonitor monitor) throws RemoteException
RemoteExceptionvoid setInput(Set<String> input) throws RemoteException
RemoteExceptionvoid ignore(String ignorePattern) throws RemoteException
RemoteExceptionvoid includePackage(String includePackagePrefix) throws RemoteException
RemoteExceptionvoid excludePackage(String excludePackagePrefix) throws RemoteException
RemoteExceptionvoid setOption(String name, Object value) throws RemoteException
ConfigurationOption
implementations.RemoteExceptionExecutionResults execute() throws RemoteException
RemoteExceptionvoid setOutput(String output) throws RemoteException
RemoteExceptionvoid includePackages(Collection<String> includePackagePrefixes) throws RemoteException
RemoteExceptionvoid excludePackages(Collection<String> excludePackagePrefixes) throws RemoteException
RemoteExceptionvoid sourceOnlyMode()
throws RemoteException
RemoteExceptionvoid skipReportGeneration()
throws RemoteException
RemoteExceptionvoid addUserRulesPath(String rulesPath) throws RemoteException
RemoteExceptionvoid addUserRulesPaths(Iterable<String> rulesPath) throws RemoteException
RemoteExceptionvoid clear()
throws RemoteException
RemoteExceptionvoid terminate()
throws RemoteException
RemoteExceptionString getVersion() throws RemoteException
RemoteExceptionvoid setVersion(String version) throws RemoteException
RemoteExceptionRuleProviderRegistry getRuleProviderRegistry(List<String> paths) throws RemoteException
RemoteExceptionRuleProviderRegistry getSystemRuleProviderRegistry() throws RemoteException
RemoteExceptionString transform(String transformationID, QuickfixLocationDTO locationDTO) throws RemoteException
RemoteExceptionString getEnv(String name) throws RemoteException
RemoteExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.