*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.publish
Class EventData
java.lang.Object
com.sas.services.publish.EventData
- All Implemented Interfaces:
EventDataInterface,Serializable
@SASScope("ALL")
@BinaryCompatibilityOnly
public class EventData
extends Object
implements EventDataInterface, Serializable
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.
- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStringReturns the SASPackage event body that describes the result package.booleanReturnstrueif the result package represented by this event, was persisted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EventData
public EventData(String event, boolean isPersisted)
-
-
Method Details
-
getBodyAsString
public String getBodyAsString()Description copied from interface:EventDataInterfaceReturns the SASPackage event body that describes the result package.- Specified by:
getBodyAsStringin interfaceEventDataInterface- Returns:
StringThe SASPackage event body.
-
isPackagePersisted
public boolean isPackagePersisted()Description copied from interface:EventDataInterfaceReturnstrueif the result package represented by this event, was persisted. Iftrue, the event body will contain a URL to the persisted package.- Specified by:
isPackagePersistedin interfaceEventDataInterface- Returns:
booleantrueif the result package was persisted;otherwise,falseis returned.
-