public class ORCIDAddWorker extends ORCIDWorker
ORCIDWorker
Constructor and Description |
---|
ORCIDAddWorker(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 ADD works with the
ORCID API.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Adds a work to 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 ORCIDAddWorker(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)
client
defines the
communication channel.work
- the work that is to be addclient
- the ORCID communication clientcb
- the callback object to return resultslog
- a loggerjava.lang.NullPointerException
- if the work is null