public abstract class JenkinsLauncherCommand extends Object implements Callable<Integer>
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_EXPIRE |
JenkinsLauncherOptions |
launcherOptions |
| Constructor and Description |
|---|
JenkinsLauncherCommand() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
call() |
ClassLoader |
createJenkinsWarClassLoader() |
ClassLoader |
createSetupClassLoader(ClassLoader jenkins) |
abstract String |
getAppClassName()
Gets classname of the App which should be launched
|
File |
getAppRepo()
Location of the app repo packaged by AppAssembler.
|
JenkinsLauncherOptions |
getLauncherOptions() |
File |
getLibDirectory()
Location of the app repo packaged by AppAssembler.
|
File |
getPayloadJarDir() |
File |
getSetupJarDir() |
boolean |
hasClass(String className) |
void |
postConstruct() |
int |
runJenkinsfileRunnerApp() |
public static final long CACHE_EXPIRE
public JenkinsLauncherOptions launcherOptions
public JenkinsLauncherOptions getLauncherOptions()
@NonNull public abstract String getAppClassName()
public Integer call() throws IllegalStateException
call in interface Callable<Integer>IllegalStateException@PostConstruct public void postConstruct() throws IOException
IOExceptionpublic ClassLoader createJenkinsWarClassLoader() throws PrivilegedActionException
PrivilegedActionExceptionpublic ClassLoader createSetupClassLoader(ClassLoader jenkins) throws IOException
IOExceptionpublic boolean hasClass(String className)
public File getAppRepo()
public File getLibDirectory()
public File getSetupJarDir() throws IOException
IOExceptionpublic File getPayloadJarDir() throws IOException
IOExceptionCopyright © 2004–2020. All rights reserved.