org.eclipse.egit.github.core
Class TypedResource

java.lang.Object
  extended by org.eclipse.egit.github.core.ShaResource
      extended by org.eclipse.egit.github.core.TypedResource
All Implemented Interfaces:
Serializable

public class TypedResource
extends ShaResource

Resource that has type and URL fields

See Also:
Serialized Form

Field Summary
static String TYPE_BLOB
          TYPE_BLOB
static String TYPE_COMMIT
          TYPE_COMMIT
static String TYPE_TAG
          TYPE_TAG
 
Constructor Summary
TypedResource()
           
 
Method Summary
 String getType()
           
 String getUrl()
           
 TypedResource setType(String type)
           
 TypedResource setUrl(String url)
           
 
Methods inherited from class org.eclipse.egit.github.core.ShaResource
getSha, setSha
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_COMMIT

public static final String TYPE_COMMIT
TYPE_COMMIT

See Also:
Constant Field Values

TYPE_TAG

public static final String TYPE_TAG
TYPE_TAG

See Also:
Constant Field Values

TYPE_BLOB

public static final String TYPE_BLOB
TYPE_BLOB

See Also:
Constant Field Values
Constructor Detail

TypedResource

public TypedResource()
Method Detail

getType

public String getType()
Returns:
type

setType

public TypedResource setType(String type)
Parameters:
type -
Returns:
this resource

getUrl

public String getUrl()
Returns:
url

setUrl

public TypedResource setUrl(String url)
Parameters:
url -
Returns:
this resource


Copyright © 2012. All Rights Reserved.