Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.intel.cosbench.controller.model
Class TaskContext

    java.lang.Object
      com.intel.cosbench.controller.model.TaskContext

All Implemented Interfaces:
  Benchmark, LifeCycle, TaskInfo

    public class TaskContext

extends java.lang.Object
implements TaskInfo

Constructor Summary
`TaskContext()`

Method Summary
`void` | `disposeRuntime()`
`org.apache.http.client.HttpClient` | `getHttpClient()`
`java.lang.String` | `getId()`
`int` | `getInterval()`
`java.lang.String` | `getLog()`
`Logger` | `getLogger()`
`org.codehaus.jackson.map.ObjectMapper` | `getMapper()`
`java.lang.String` | `getMissionId()`
`Report` | `getReport()`
`SchedulePlan` | `getSchedule()`
`Snapshot` | `getSnapshot()`
`TaskState` | `getState()`
`void` | `setHttpClient(org.apache.http.client.HttpClient httpClient)`
`void` | `setId(java.lang.String id)`
`void` | `setInterval(int interval)`
`void` | `setLog(java.lang.String log)`
`void` | `setLogger(Logger logeger)`
`void` | `setMapper(org.codehaus.jackson.map.ObjectMapper mapper)`
`void` | `setMissionId(java.lang.String missionId)`
`void` | `setReport(Report report)`
`void` | `setSchedule(SchedulePlan schedule)`
`void` | `setSnapshot(Snapshot snapshot)`
`void` | `setState(TaskState state)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TaskContext

    public TaskContext()

Method Detail

### getId

    public java.lang.String getId()

  Specified by:
    `getId` in interface `TaskInfo`

### setId

    public void setId(java.lang.String id)

### getState

    public TaskState getState()

  Specified by:
    `getState` in interface `TaskInfo`

### setState

    public void setState(TaskState state)

### getSchedule

    public SchedulePlan getSchedule()

  Specified by:
    `getSchedule` in interface `TaskInfo`

### setSchedule

    public void setSchedule(SchedulePlan schedule)

### getLogger

    public Logger getLogger()

### setLogger

    public void setLogger(Logger logeger)

### getHttpClient

    public org.apache.http.client.HttpClient getHttpClient()

### setHttpClient

    public void setHttpClient(org.apache.http.client.HttpClient httpClient)

### getMapper

    public org.codehaus.jackson.map.ObjectMapper getMapper()

### setMapper

    public void setMapper(org.codehaus.jackson.map.ObjectMapper mapper)

### getMissionId

    public java.lang.String getMissionId()

  Specified by:
    `getMissionId` in interface `TaskInfo`

### setMissionId

    public void setMissionId(java.lang.String missionId)

### getInterval

    public int getInterval()

### setInterval

    public void setInterval(int interval)

### getSnapshot

    public Snapshot getSnapshot()

  Specified by:
    `getSnapshot` in interface `Benchmark`

### setSnapshot

    public void setSnapshot(Snapshot snapshot)

### getReport

    public Report getReport()

  Specified by:
    `getReport` in interface `Benchmark`

### setReport

    public void setReport(Report report)

### getLog

    public java.lang.String getLog()

  Specified by:
    `getLog` in interface `TaskInfo`

### setLog

    public void setLog(java.lang.String log)

### disposeRuntime

    public void disposeRuntime()

  Specified by:
    `disposeRuntime` in interface `LifeCycle`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD