@Unstable public class ExtensionJobHistoryRecord extends Object
ExtensionJobHistory.| Constructor and Description |
|---|
ExtensionJobHistoryRecord(String jobType,
ExtensionRequest request,
Map<String,QuestionRecorder<Object>> answers,
Date startDate,
Date endDate)
Creates a new unmodifiable history record.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,QuestionRecorder<Object>> |
getAnswers() |
Date |
getEndDate() |
String |
getId() |
String |
getJobType() |
ExtensionRequest |
getRequest() |
Date |
getStartDate() |
public ExtensionJobHistoryRecord(String jobType, ExtensionRequest request, Map<String,QuestionRecorder<Object>> answers, Date startDate, Date endDate)
jobType - the job type (normally the job component hint, e.g. "install")request - the extension requestanswers - the answers that were given by the user to the questions asked by the job specified by this
history record (if the job was interactive); the key in the given map identifies the question type;
the value represents the recorded answers for the corresponding question typestartDate - the date when the job execution startedendDate - the date when the job execution endedpublic String getJobType()
public ExtensionRequest getRequest()
public Map<String,QuestionRecorder<Object>> getAnswers()
public Date getStartDate()
public Date getEndDate()
public String getId()
Copyright © 2004–2015 XWiki. All rights reserved.