com.cisco.provisioning.cpe.events
Interface FileEvent

All Superinterfaces:
Externalizable, ProvAPIEvent, Serializable

public interface FileEvent
extends ProvAPIEvent

The interface that defines the object to be returned as a result of a FileEvent notification.


Method Summary
 byte[] getBytes()
          Returns the bytes of the file.
 String getFilename()
          Returns the name of the file.
 FileType getFileType()
          Returns the File type of the file.
 Map<String,Object> getProperties()
          Returns the Map of the file.
 boolean isDeliverable()
          Returns true if the file is deliverable, otherwise returns false.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEvent
getID, getSource, setID, setSource, toString
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getFilename

String getFilename()
Returns the name of the file.

Returns:
the name of the file.

isDeliverable

boolean isDeliverable()
Returns true if the file is deliverable, otherwise returns false.

Returns:
true if the file is deliverable, otherwise returns false.

getBytes

byte[] getBytes()
Returns the bytes of the file.

Returns:
the bytes of the file.

getProperties

Map<String,Object> getProperties()
Returns the Map of the file.

Returns:
the name of the file.

getFileType

FileType getFileType()
Returns the File type of the file.

Returns:
the File type of the file.