org.apache.directory.studio.apacheds.jobs
Class LaunchServerJob

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.core.internal.jobs.InternalJob
          extended by org.eclipse.core.runtime.jobs.Job
              extended by org.apache.directory.studio.apacheds.jobs.LaunchServerJob
All Implemented Interfaces:
java.lang.Comparable, org.eclipse.core.runtime.IAdaptable

public class LaunchServerJob
extends org.eclipse.core.runtime.jobs.Job

This class implements a Job that is used to launch a server.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
 
Fields inherited from class org.eclipse.core.internal.jobs.InternalJob
manager
 
Constructor Summary
LaunchServerJob(Server server, ServerConfiguration configuration)
          Creates a new instance of LaunchServerJob.
 
Method Summary
 org.eclipse.debug.core.ILaunch getLaunch()
          Gets the associated launch.
protected  org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void setLogsLevel(java.lang.String logsLevel)
          Sets the logs level.
 void setLogsPattern(java.lang.String logsPattern)
          Sets the logs pattern.
 
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, canceling, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

LaunchServerJob

public LaunchServerJob(Server server,
                       ServerConfiguration configuration)
Creates a new instance of LaunchServerJob.

Parameters:
server - the server
configuration - the configuration
Method Detail

run

protected org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
Specified by:
run in class org.eclipse.core.runtime.jobs.Job

getLaunch

public org.eclipse.debug.core.ILaunch getLaunch()
Gets the associated launch.

Returns:
the associated launch

setLogsLevel

public void setLogsLevel(java.lang.String logsLevel)
Sets the logs level.

Parameters:
logsLevel - the logs level

setLogsPattern

public void setLogsPattern(java.lang.String logsPattern)
Sets the logs pattern.

Parameters:
logsPattern - the logs pattern


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.