Tabnine Logo
SchedulerPlugin.unscheduleJob
Code IndexAdd Tabnine to your IDE (free)

How to use
unscheduleJob
method
in
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin

Best Java code snippets using com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.unscheduleJob (Showing top 2 results out of 315)

origin: org.xwiki.platform/xwiki-platform-scheduler-api

public boolean unscheduleJob(BaseObject object)
{
  try {
    getProtectedPlugin().unscheduleJob(object, this.context);
    LOGGER.debug("Delete Job: [{}]", object.getStringValue("jobName"));
    return true;
  } catch (XWikiException e) {
    this.context.put("error", e.getMessage());
    return false;
  }
}

origin: com.xpn.xwiki.platform.plugins/xwiki-plugin-scheduler

public boolean unscheduleJob(BaseObject object)
{
  try {
    getProtectedPlugin().unscheduleJob(object, this.context);
    LOG.debug("Delete Job : " + object.getStringValue("jobName"));
    return true;
  } catch (XWikiException e) {
    this.context.put("error", e.getMessage());
    return false;
  }
}

com.xpn.xwiki.plugin.schedulerSchedulerPluginunscheduleJob

Javadoc

Unschedule the given job

Popular methods of SchedulerPlugin

  • scheduleJob
  • getDefaultSchedulerInstance
  • getJobStatus
    Retrieve the job's status of a given com.xpn.xwiki.plugin.scheduler.SchedulerPlugin#XWIKI_JOB_CLASS
  • getNextFireTime
    Get the next fire time for the given job name SchedulerJob
  • getObjectUniqueId
    Compute a cross-document unique com.xpn.xwiki.objects.BaseObject id, by concatenating its name (it's
  • getPreviousFireTime
    Give, for a BaseObject job in a JobState#STATE_NORMAL state, the previous date at which the job has
  • getScheduler
  • getTrigger
    Get Trigger object of the given job
  • pauseJob
    Pause the job with the given name by pausing all of its current triggers.
  • prepareJobStubContext
    Create and feed a stub context for the job execution thread. Stub context data are retrieved from jo
  • restoreExistingJobs
    Restore the existing job, by looking up for such job in the database and re-scheduling those accordi
  • resumeJob
    Resume the job with the given name (un-pause)
  • restoreExistingJobs,
  • resumeJob,
  • saveStatus,
  • setScheduler,
  • setStatusListener,
  • triggerJob,
  • getWikiIdPrefix,
  • onDocumentEvent,
  • onWikiDeletedEvent

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Option (scala)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now