org.eclipse.egit.github.core
Class TypedResource
java.lang.Object
org.eclipse.egit.github.core.ShaResource
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TypedResource
public TypedResource()
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.