public class ORCIDUpdWorker extends ORCIDWorker
ORCIDWorker
Constructor and Description |
---|
ORCIDUpdWorker(org.um.dsi.gavea.orcid.model.work.Work work,
ORCIDClient client,
java.util.Map<java.math.BigInteger,java.lang.Object> cb,
org.apache.logging.log4j.Logger log)
A threaded worker that can be launched in parallel to UPDATE works with
the ORCID API.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Updates a work in an ORCID profile.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ORCIDUpdWorker(org.um.dsi.gavea.orcid.model.work.Work work, ORCIDClient client, java.util.Map<java.math.BigInteger,java.lang.Object> cb, org.apache.logging.log4j.Logger log) throws java.lang.NullPointerException, java.security.InvalidParameterException
client
defines the
communication channel.work
- the work that is to be updatedclient
- the ORCID communication clientcb
- the callback object to return resultslog
- a loggerjava.security.InvalidParameterException
- if the work's put-code is undefinedjava.security.InvalidParameterException
- if the work is nulljava.lang.NullPointerException