public class BuildSimulator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FABRIC8_SIMULATOR_ENABLED |
static String |
FABRIC8_SIMULATOR_START_BUILD_NAME |
| Constructor and Description |
|---|
BuildSimulator() |
| Modifier and Type | Method and Description |
|---|---|
long |
getInitialBuildDelay() |
static BuildSimulator |
getSingleton() |
String |
getStartBuildName() |
String |
getStartBuildNamespace() |
long |
getStartBuildPeriod() |
static boolean |
isEnabled()
Returns true if the build simulator is enabled via the
FABRIC8_SIMULATOR_ENABLED
environment variable or system property being "true" |
void |
join()
Waits until this simulator is finished (which by default is forever)
|
protected void |
notifyBuild(BuildCorrelationKey key) |
void |
schedule(Timer timer,
long pollTime,
BuildSignaller buildListener,
String consoleLink) |
void |
setInitialBuildDelay(long initialBuildDelay) |
void |
setStartBuildName(String startBuildName) |
void |
setStartBuildNamespace(String startBuildNamespace) |
void |
setStartBuildPeriod(long startBuildPeriod) |
String |
triggerBuild(String namespace,
String buildName) |
public static final String FABRIC8_SIMULATOR_ENABLED
public static final String FABRIC8_SIMULATOR_START_BUILD_NAME
public static boolean isEnabled()
FABRIC8_SIMULATOR_ENABLED
environment variable or system property being "true"public static BuildSimulator getSingleton()
public void schedule(Timer timer, long pollTime, BuildSignaller buildListener, String consoleLink)
protected void notifyBuild(BuildCorrelationKey key)
public void join()
public String getStartBuildName()
public void setStartBuildName(String startBuildName)
public String getStartBuildNamespace()
public void setStartBuildNamespace(String startBuildNamespace)
public long getStartBuildPeriod()
public void setStartBuildPeriod(long startBuildPeriod)
public long getInitialBuildDelay()
public void setInitialBuildDelay(long initialBuildDelay)
Copyright © 2011–2015 Red Hat. All rights reserved.