|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.planets_project.services.datatypes.ServiceReport
public final class ServiceReport
A report from a preservation service defined based on the need identified in the 1st and 4th Service Developers Meetings. Where possible, information concerning the quality of the outputs should be placed in Events associated with DigitalObjects.
Nested Class Summary | |
---|---|
static class |
ServiceReport.Status
Service report status. |
static class |
ServiceReport.Type
Type of information returned by a service. |
Constructor Summary | |
---|---|
ServiceReport(ServiceReport.Type type,
ServiceReport.Status status,
java.lang.String message)
Create a service report with specified status, type and message. |
|
ServiceReport(ServiceReport.Type type,
ServiceReport.Status status,
java.lang.String message,
java.util.List<Property> properties)
Create a service report with specified status, type and message. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
java.util.List<Property> |
getProperties()
|
ServiceReport.Status |
getStatus()
|
ServiceReport.Type |
getType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceReport(ServiceReport.Type type, ServiceReport.Status status, java.lang.String message)
type
- The Type enum elementstatus
- The Status enum elementmessage
- The messagepublic ServiceReport(ServiceReport.Type type, ServiceReport.Status status, java.lang.String message, java.util.List<Property> properties)
type
- The Type enum elementstatus
- The Status enum elementmessage
- The messageproperties
- A list of ad hoc propertiesMethod Detail |
---|
public java.lang.String getMessage()
public ServiceReport.Status getStatus()
ServiceReport.Status
public ServiceReport.Type getType()
ServiceReport.Type
public java.util.List<Property> getProperties()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |