|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.upgrade.ius.UpdateRunner.DirectiveServicesAdapter
Field Summary | |
private UUID |
currentIUUuid_
|
private UpdateRunner |
runner_
|
Constructor Summary | |
UpdateRunner.DirectiveServicesAdapter(UpdateRunner runner)
|
Method Summary | |
Connection |
getConnection()
Provide a JDBC connection that is active in the current method context. |
UUID |
getCurrentIncrementalUpdateUuid()
The UUID of the Incremental Update currently being executed. |
PersistentObjectManager |
getPOM()
Provide the PersistentObjectManager from method context. |
ReleaseId[] |
getSourceVersions()
The release ids of assemblies installed in the database. |
ReleaseId[] |
getTargetVersions()
The release ids of assemblies installed on the target system. |
void |
log(String message)
Log the message. |
void |
log(String message,
Throwable error)
Log the message with the error. |
void |
run(DirectiveServices ds)
|
void |
setCurrentIUUuid(UUID uuid)
|
private UpdateRunner |
updateRunner()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private UpdateRunner runner_
private UUID currentIUUuid_
Constructor Detail |
public UpdateRunner.DirectiveServicesAdapter(UpdateRunner runner) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException
Method Detail |
public void setCurrentIUUuid(UUID uuid)
public void run(DirectiveServices ds)
run
in interface DirectiveServices
private UpdateRunner updateRunner()
public void log(String message)
DirectiveServices
log
in interface DirectiveServices
public void log(String message, Throwable error)
DirectiveServices
log
in interface DirectiveServices
public Connection getConnection() throws DirectiveExecutionException
DirectiveServices
getConnection
in interface DirectiveServices
DirectiveExecutionException
- if there is an error trying to obtain a connection referencepublic PersistentObjectManager getPOM() throws DirectiveExecutionException
DirectiveServices
getPOM
in interface DirectiveServices
DirectiveExecutionException
- if there is an error trying to obtain a POM referencepublic ReleaseId[] getSourceVersions()
DirectiveServices
getSourceVersions
in interface DirectiveServices
public ReleaseId[] getTargetVersions()
DirectiveServices
getTargetVersions
in interface DirectiveServices
public UUID getCurrentIncrementalUpdateUuid()
DirectiveServices
getCurrentIncrementalUpdateUuid
in interface DirectiveServices
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |