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() |
JenkinsLauncherOptions |
getLauncherOptions() |
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()
Copyright © 2004–2020. All rights reserved.