org.eclipse.egit.github.core
Class TreeEntry

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

public class TreeEntry
extends Object
implements Serializable

Tree entry model class

See Also:
Serialized Form

Field Summary
static String MODE_BLOB
          MODE_BLOB
static String MODE_BLOB_EXECUTABLE
          MODE_BLOB_EXECUTABLE
static String MODE_BLOB_SYMLINK
          MODE_BLOB_SYMLINK
static String MODE_DIRECTORY
          MODE_DIRECTORY
static String MODE_SUBMODULE
          MODE_SUBMODULE
static String TYPE_BLOB
          TYPE_BLOB
static String TYPE_TREE
          TYPE_TREE
 
Constructor Summary
TreeEntry()
           
 
Method Summary
 String getMode()
           
 String getPath()
           
 String getSha()
           
 long getSize()
           
 String getType()
           
 String getUrl()
           
 TreeEntry setMode(String mode)
           
 TreeEntry setPath(String path)
           
 TreeEntry setSha(String sha)
           
 TreeEntry setSize(long size)
           
 TreeEntry setType(String type)
           
 TreeEntry setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_BLOB

public static final String TYPE_BLOB
TYPE_BLOB

See Also:
Constant Field Values

TYPE_TREE

public static final String TYPE_TREE
TYPE_TREE

See Also:
Constant Field Values

MODE_BLOB

public static final String MODE_BLOB
MODE_BLOB

See Also:
Constant Field Values

MODE_BLOB_EXECUTABLE

public static final String MODE_BLOB_EXECUTABLE
MODE_BLOB_EXECUTABLE

See Also:
Constant Field Values

MODE_BLOB_SYMLINK

public static final String MODE_BLOB_SYMLINK
MODE_BLOB_SYMLINK

See Also:
Constant Field Values

MODE_DIRECTORY

public static final String MODE_DIRECTORY
MODE_DIRECTORY

See Also:
Constant Field Values

MODE_SUBMODULE

public static final String MODE_SUBMODULE
MODE_SUBMODULE

See Also:
Constant Field Values
Constructor Detail

TreeEntry

public TreeEntry()
Method Detail

getSize

public long getSize()
Returns:
size

setSize

public TreeEntry setSize(long size)
Parameters:
size -
Returns:
this tree entry

getMode

public String getMode()
Returns:
mode

setMode

public TreeEntry setMode(String mode)
Parameters:
mode -
Returns:
this tree entry

getPath

public String getPath()
Returns:
path

setPath

public TreeEntry setPath(String path)
Parameters:
path -
Returns:
this tree entry

getSha

public String getSha()
Returns:
sha

setSha

public TreeEntry setSha(String sha)
Parameters:
sha -
Returns:
this tree entry

getType

public String getType()
Returns:
type

setType

public TreeEntry setType(String type)
Parameters:
type -
Returns:
this tree entry

getUrl

public String getUrl()
Returns:
url

setUrl

public TreeEntry setUrl(String url)
Parameters:
url -
Returns:
this tree entry


Copyright © 2012. All Rights Reserved.