|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
com.ibm.carma.ui.job.AbstractCarmaJob
com.ibm.carma.ui.job.UpdatePropertiesJob
public class UpdatePropertiesJob
This Job is used to set MetaInfo properties on a specified CARMAResource.
The Job loops through the Keys in the map and for each key calls
All keys are tried regardless of received errors. Any errors that are received are added
to a MultiStatus and returned to the user.
cResource.setMemberInfo(monitor, key, (String) properties.get(key),
CustomActionUtil.getCustomParameters(cResource, ActionIdentifier.SET_MEMBER_INFO));
This Class is not intended to be sub-classed, but may be instantiated.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Fields inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
| Constructor Summary | |
|---|---|
UpdatePropertiesJob(java.lang.String name,
CARMAResource cResource,
java.util.Map<java.lang.String,java.lang.String> properties)
|
|
| Method Summary | |
|---|---|
org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
|
| Methods inherited from class com.ibm.carma.ui.job.AbstractCarmaJob |
|---|
displayCustomReturns, displayCustomReturns, displayCustomReturns, displayCustomReturns, getActionFromReturns, getActionName |
| Methods inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
addJobChangeListener, belongsTo, cancel, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo, toString |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
| Constructor Detail |
|---|
public UpdatePropertiesJob(java.lang.String name,
CARMAResource cResource,
java.util.Map<java.lang.String,java.lang.String> properties)
name - Name of the jobcResource - the CARMAResource to update the properties onproperties - a Map of items to set on cResource| Method Detail |
|---|
public org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
run in class org.eclipse.core.runtime.jobs.Job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||