java.lang.Object | ||||
↳ | com.pnfsoftware.jeb.util.events.EventSource | |||
↳ | com.pnfsoftware.jeb.client.AbstractContext | |||
↳ | com.pnfsoftware.jeb.client.AbstractClientContext | |||
↳ | com.pnfsoftware.jeb.client.HeadlessClientContext |
Headless client context for the command-line client. This context is used:
- for license key generation in headless environments
- for command-line based software update
- as the base of the built-in script runner (v2)
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.client.AbstractClientContext
| |||||||||||
From class
com.pnfsoftware.jeb.client.AbstractContext
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.client.AbstractClientContext
| |||||||||||
From class
com.pnfsoftware.jeb.client.AbstractContext
| |||||||||||
From class
com.pnfsoftware.jeb.util.events.EventSource
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HeadlessClientContext() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
checkUpdate()
Not called locally: it is entirely up to the client to implement and decide who calls this
method.
| ||||||||||
void |
displayDemoInformation(String demoInfo)
Called from
start() . | ||||||||||
boolean |
displayEula(String eula)
Called from
start() . | ||||||||||
void | initialize(String[] argv) | ||||||||||
void |
notifyFloatingClient(ControllerNotification notification)
May be called from anywhere, any thread.
| ||||||||||
void |
notifySupportExpired()
Called from
start() . | ||||||||||
void |
onUpdatedSoftware(String changelist, Version oldVersion)
Notify a concrete client that a new version of JEB is being run for the first time.
| ||||||||||
String |
retrieveLicenseKey(String licdata)
Called from
start() . | ||||||||||
boolean |
setupController()
Called from
start() . | ||||||||||
void |
start()
The headless client implementation of start() also initialize the JEB engines.
| ||||||||||
void | stop() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.client.AbstractClientContext
| |||||||||||
From class
com.pnfsoftware.jeb.client.AbstractContext
| |||||||||||
From class
com.pnfsoftware.jeb.util.events.EventSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.client.api.IClientContext
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
|
Not called locally: it is entirely up to the client to implement and decide who calls this method.
May be called from anywhere, any thread.
Notify a concrete client that a new version of JEB is being run for the first time.
Called from start()
.
changelist | an optional change log |
---|---|
oldVersion | the last version of JEB that was run (note: the current version is always
available as a static public field )
|
The headless client implementation of start() also initialize the JEB engines.
JebException |
---|