org.apache.jetspeed.services.urlmanager
Class URLInfo

java.lang.Object
  extended byorg.apache.jetspeed.services.urlmanager.URLInfo
All Implemented Interfaces:
java.io.Serializable

public class URLInfo
extends java.lang.Object
implements java.io.Serializable

This is a simple URL information record which can be used to track URL resources status in a persistent way.

The url String used to initialize it MUST be interned, to ensure that if two such urls are "equal()", they will be also "=="

Version:
$Id: URLInfo.java,v 1.6 2005/03/21 18:21:44 sgala Exp $
Author:
Raphaël Luta
See Also:
Serialized Form

Method Summary
 java.lang.String getMessage()
          Get the message
 int getStatus()
          Get the status
 java.lang.String getURL()
          Get the url.
 void setMessage(java.lang.String message)
          Set the message
 void setStatus(int status)
          Set the status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURL

public java.lang.String getURL()
Get the url.

Returns:
the url string described by this object

getStatus

public int getStatus()
Get the status

Returns:
the status for this url

setStatus

public void setStatus(int status)
Set the status

Parameters:
status - the status for this url

getMessage

public java.lang.String getMessage()
Get the message

Returns:
the message for this url

setMessage

public void setMessage(java.lang.String message)
Set the message

Parameters:
message - the message for this url


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.