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

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

public class ResourceInfo
extends java.lang.Object
implements java.lang.Comparable<ResourceInfo>


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

Constructor Detail

ResourceInfo

public ResourceInfo(java.lang.String url,
                    org.springframework.web.bind.annotation.RequestMethod method)

ResourceInfo

public ResourceInfo(java.lang.String url,
                    org.springframework.web.bind.annotation.RequestMethod method,
                    java.lang.String description)
Method Detail

getUrl

public java.lang.String getUrl()

getMethod

public org.springframework.web.bind.annotation.RequestMethod getMethod()

getDescription

public java.lang.String getDescription()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.