|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.publish.EventData
public class EventData
Contains the SASPackage event data. This includes the SASPackage event body, as well as persistence information. See SASPackage Event Usage for more details.
This class should not be invoked by the calling application.
Supported delivery transports will use it to create an event describing
the result package. Calling applications will only have to interface
with the EventDataInterface
.
Constructor Summary | |
---|---|
EventData(java.lang.String event,
boolean isPersisted)
|
Method Summary | |
---|---|
java.lang.String |
getBodyAsString()
Returns the SASPackage event body that describes the result package. |
boolean |
isPackagePersisted()
Returns true if the result package represented
by this event, was persisted. |
Constructor Detail |
---|
public EventData(java.lang.String event, boolean isPersisted)
Method Detail |
---|
public java.lang.String getBodyAsString()
EventDataInterface
getBodyAsString
in interface EventDataInterface
String
The SASPackage event body.public boolean isPackagePersisted()
EventDataInterface
true
if the result package represented
by this event, was persisted. If true
, the event
body will contain a URL to the persisted package.
isPackagePersisted
in interface EventDataInterface
boolean
true
if the result package
was persisted;otherwise, false
is returned.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |