net.dpml.transit.model
Class HostChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.dpml.transit.model.HostEvent
          extended bynet.dpml.transit.model.HostChangeEvent
All Implemented Interfaces:
Serializable

public class HostChangeEvent
extends HostEvent

An event pertaining to a modification to a host model base url, index, request identifier or connection credentials.

Version:
1.0.1
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HostChangeEvent(HostModel host, URL base, URL index, RequestIdentifier identifier, PasswordAuthentication auth, boolean enabled, boolean trusted)
          Creation of a new host change event.
 
Method Summary
 URL getBaseURL()
          Return the host base URL.
 boolean getEnabled()
          Return the host enabled status.
 URL getIndexURL()
          Return the host index URL.
 PasswordAuthentication getPasswordAuthentication()
          Return the host password authentication credentials.
 RequestIdentifier getRequestIdentifier()
          Return the host request identifier.
 boolean getTrusted()
          Return the host trusted status.
 
Methods inherited from class net.dpml.transit.model.HostEvent
getHostModel
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostChangeEvent

public HostChangeEvent(HostModel host,
                       URL base,
                       URL index,
                       RequestIdentifier identifier,
                       PasswordAuthentication auth,
                       boolean enabled,
                       boolean trusted)
Creation of a new host change event.

Parameters:
host - the host model that was changed
base - the host base url
index - the host index url
identifier - the host request identifier
auth - the host authentication credentials
enabled - the host enabled state
trusted - the host trusted status
Method Detail

getBaseURL

public URL getBaseURL()
Return the host base URL.

Returns:
the base url

getIndexURL

public URL getIndexURL()
Return the host index URL.

Returns:
the index url

getRequestIdentifier

public RequestIdentifier getRequestIdentifier()
Return the host request identifier.

Returns:
the request identifier

getPasswordAuthentication

public PasswordAuthentication getPasswordAuthentication()
Return the host password authentication credentials.

Returns:
the authentication credentials

getEnabled

public boolean getEnabled()
Return the host enabled status.

Returns:
the enabled status

getTrusted

public boolean getTrusted()
Return the host trusted status.

Returns:
the trusted status