org.springframework.batch.admin.web.util
Class ResourceInfo

java.lang.Object
  extended by org.springframework.batch.admin.web.util.ResourceInfo
All Implemented Interfaces:
Comparable<ResourceInfo>

public class ResourceInfo
extends Object
implements Comparable<ResourceInfo>


Constructor Summary
ResourceInfo(String url, RequestMethod method)
           
ResourceInfo(String url, RequestMethod method, String description)
           
 
Method Summary
 int compareTo(ResourceInfo o)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 RequestMethod getMethod()
           
 String getUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo(String url,
                    RequestMethod method)

ResourceInfo

public ResourceInfo(String url,
                    RequestMethod method,
                    String description)
Method Detail

getUrl

public String getUrl()

getMethod

public RequestMethod getMethod()

getDescription

public String getDescription()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ResourceInfo o)
Specified by:
compareTo in interface Comparable<ResourceInfo>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.