|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tm.activationrecord.ActivationRecord
public class ActivationRecord
A wrapper of GCUBEGenericResources that record
client invocations of the T-Binder service.
| Method Summary | |
|---|---|
ActivationRecordBody |
getBody()
Returns the body of the wrapped resource as a ActivationRecordBody. |
org.gcube.common.core.resources.GCUBEGenericResource |
getResource()
Returns the wrapped resource |
static ActivationRecord |
newInstance(org.gcube.common.core.resources.GCUBEGenericResource resource)
Creates an instance around a given resource. |
static ActivationRecord |
newInstance(String description,
ActivationRecordBody body)
Creates an instance from a name, description, and body for the resource. |
void |
publish()
Publishes the record |
void |
publish(org.gcube.common.core.utils.handlers.GCUBEScheduledHandler<Void> scheduler)
Schedules the publication of the record |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ActivationRecord newInstance(org.gcube.common.core.resources.GCUBEGenericResource resource)
resource - the resource
public static ActivationRecord newInstance(String description,
ActivationRecordBody body)
description - the descriptionbody - the body
public org.gcube.common.core.resources.GCUBEGenericResource getResource()
public ActivationRecordBody getBody()
throws Exception
ActivationRecordBody.
Exception - if the body cannot be parsed into a ActivationRecordBody
public void publish()
throws Exception
Exception - if the record cannot be published
public void publish(org.gcube.common.core.utils.handlers.GCUBEScheduledHandler<Void> scheduler)
throws Exception
scheduler - a pre-configured scheduler
Exception - if the publication cannot be scheduled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||