Deprecated API


Contents
Deprecated Exceptions
com.sap.scheduler.api.TaskNotCancelableException
          This exception will never be thrown 
 

Deprecated Fields
com.sap.scheduler.runtime.Event.EVENT_JOB_DEFINITION_REDEPLOYED
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_HELD
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_HELD_DESC
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_RELEASED
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_RELEASED_DESC
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_REMOVED
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_REMOVED_DESC
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_SUBMITTED
          event is not used 
com.sap.scheduler.runtime.Event.EVENT_JOB_SUBMITTED_DESC
          event is not used 
 

Deprecated Methods
com.sap.scheduler.runtime.Event.getId()
          Event id is not used 
com.sap.scheduler.runtime.JobDefinition.getName()
          Use getJobDefinitionName.getName() instead 
com.sap.scheduler.runtime.Job.setCancelRequest(boolean)
          use the constructor 
com.sap.scheduler.runtime.JobParameterDefinition.setDefaultData(String)
          use constructor instead 
com.sap.scheduler.runtime.JobParameterDefinition.setDescription(String)
          use constructor instead 
com.sap.scheduler.runtime.JobDefinition.setDescription(String)
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor accipting a description argument. 
com.sap.scheduler.runtime.JobParameterDefinition.setDirection(String)
          use constructor instead 
com.sap.scheduler.runtime.JobParameterDefinition.setDisplay(boolean)
          use constructor instead 
com.sap.scheduler.runtime.Job.setEndDate(Date)
          use the constructor 
com.sap.scheduler.runtime.JobParameterDefinition.setGroup(String)
          use constructor instead 
com.sap.scheduler.runtime.Event.setId(byte[])
          Event id is not used 
com.sap.scheduler.runtime.Job.setId(JobID)
          use the constructor 
com.sap.scheduler.runtime.JobDefinition.setJobDefinitionId(JobDefinitionID)
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor acceptiong JobDefintionID argument. 
com.sap.scheduler.runtime.Job.setJobDefinitionId(JobDefinitionID)
          use the constructor 
com.sap.scheduler.runtime.Job.setJobStatus(JobStatus)
          use the constructor 
com.sap.scheduler.runtime.JobDefinition.setJobType(int)
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor accipting a parameters argument. 
com.sap.scheduler.runtime.JobParameterDefinition.setLocalizationInfoMap(HashMap>)
          use constructor instead 
com.sap.scheduler.runtime.JobDefinition.setLocalizationInfoMap(HashMap>)
          use constructor instead 
com.sap.scheduler.runtime.JobParameterDefinition.setName(String)
          use constructor instead 
com.sap.scheduler.runtime.JobDefinition.setName(String)
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor accepting a JobDefinitionName argument. 
com.sap.scheduler.runtime.Job.setName(String)
          use the constructor 
com.sap.scheduler.runtime.Job.setNode(String)
          use the constructor 
com.sap.scheduler.runtime.JobParameterDefinition.setNullable(boolean)
          use constructor instead 
com.sap.scheduler.runtime.JobDefinition.setParameters(JobParameterDefinition[])
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor accepting a parameters argument. 
com.sap.scheduler.runtime.Job.setParent(JobID)
          use the constructor 
com.sap.scheduler.runtime.JobDefinition.setProperties(String[][])
          - intended to be used only by XML Seriliazliation/deserialization framework. Instead of this method use the JobDefinition.putProperty(String, String) method 
com.sap.scheduler.runtime.JobDefinition.setRetentionPeriod(int)
          - used only for XML Serialization/Deserialization. Instead of using this method use a constructor accepting a parameters argument. 
com.sap.scheduler.runtime.Job.setReturnCode(short)
          use the constructor 
com.sap.scheduler.runtime.Job.setScheduler(SchedulerID)
          use the constructor 
com.sap.scheduler.runtime.Job.setStartDate(Date)
          use the constructor 
com.sap.scheduler.runtime.Job.setSubmitDate(Date)
          use the constructor 
com.sap.scheduler.runtime.JobParameterDefinition.setType(JobParameterType)
          use constructor instead 
com.sap.scheduler.runtime.Job.setUser(String)
          use the constructor 
com.sap.scheduler.runtime.Job.setVendorData(String)
          use the constructor 
 

Deprecated Constructors
com.sap.scheduler.runtime.Event(String, String, AbstractIdentifier)
            
com.sap.scheduler.runtime.Event(String, String, AbstractIdentifier, Date)
            
com.sap.scheduler.runtime.Event(String, String, String, AbstractIdentifier, Date)
            
com.sap.scheduler.runtime.Job()
          Please use Job.Job(JobID, JobDefinitionID, SchedulerID, String, JobStatus, Date, Date, Date, String, short, String, JobID, String, boolean, int, SchedulerTaskID) instead 
com.sap.scheduler.runtime.Job(JobID, JobDefinitionID, SchedulerID, String, JobStatus, Date, Date, Date, String, short, String, JobID, String, boolean, int)
          Please use Job.Job(JobID, JobDefinitionID, SchedulerID, String, JobStatus, Date, Date, Date, String, short, String, JobID, String, boolean, int, SchedulerTaskID) instead 
com.sap.scheduler.runtime.JobDefinition()
          Please use #JobDefinition(JobDefinitionID, JobDefinitionName, String, JobParameterDefinition[], int, int, Date, String[][], Map) 
com.sap.scheduler.runtime.JobDefinition(JobDefinitionID, String, String, JobParameterDefinition[], int, int, Date, String[][], String, HashMap>)
          Please use #JobDefinition(JobDefinitionID, JobDefinitionName, String, JobParameterDefinition[], int, int, Date, String[][], Map) 
com.sap.scheduler.runtime.JobDefinitionID()
          This constructor is intended to be used only by XML serialization/deserializtion. In order to create new instances of this class use one of the static methods 
com.sap.scheduler.runtime.JobID()
          This constructor is intended to be used only by XML serialization/deserializtion. In order to create new instances of this class use one of the static methods 
com.sap.scheduler.runtime.JobParameterDefinition()
          Needed for jver tests. Use only the non-empty constructor! 
com.sap.scheduler.runtime.SchedulerID()
          This constructor is intended to be used only by XML serialization/deserializtion. In order to create new instances of this class use one of the static methods 
com.sap.scheduler.api.SchedulerTask(SchedulerTaskID, JobDefinitionID, JobParameter[], RecurringEntry[], CronEntry[])
          - please use create-method instead Constructs a new SchedulerTask instance with the specified id, job definition id, parameters and schedule. When an object is created with this constructor a call to getRetentionPeriod would throw IllegalStateException and isRetentionDefault would return true. 
com.sap.scheduler.api.SchedulerTask(SchedulerTaskID, JobDefinitionID, JobParameter[], RecurringEntry[], CronEntry[], Filter[], int)
          - please use create-method instead Constrcuts a new SchedulerTas instance with the specified parameters. Weh an object is created with this construtor isRetentionDefault would return false and getRetentionPeriod would return the value of the retentionPeriod argument. 
com.sap.scheduler.api.SchedulerTask(SchedulerTaskID, JobDefinitionID, JobParameter[], RecurringEntry[], CronEntry[], Filter[], int, String, String, String)
          - please use create-method instead Constrcuts a new SchedulerTas instance with the specified parameters. Weh an object is created with this construtor isRetentionDefault would return false and getRetentionPeriod would return the value of the retentionPeriod argument. 
com.sap.scheduler.api.SchedulerTask(SchedulerTaskID, JobDefinitionID, JobParameter[], RecurringEntry[], CronEntry[], String, String)
          - please use create-method instead Constrcuts a new SchedulerTas instance with the specified parameters. Weh an object is created with this construtor isRetentionDefault would return false and getRetentionPeriod would return the value of the retentionPeriod argument. 
com.sap.scheduler.api.SchedulerTask(SchedulerTaskID, JobDefinitionID, JobParameter[], RecurringEntry[], CronEntry[], String, String, String)
          - please use create-method instead Constrcuts a new SchedulerTas instance with the specified parameters. Weh an object is created with this construtor isRetentionDefault would return false and getRetentionPeriod would return the value of the retentionPeriod argument. 
 



Copyright 2009 SAP AG Complete Copyright Notice