C# Class pocorall.SCM_Notifier.ScmRepository

Inheritance: ICloneable
Show file Open project: pocorall/scm-notifier Class Usage Examples

Public Properties

Property Type Description
ActiveStatusUpdateInterval int
Disable bool
IdleStatusUpdateInterval int
Path string
VisiblePath string
origPath string
pathType PathType
svnFolderProcesses System.Collections.ArrayList

Public Methods

Method Description
BeginUpdateSilently ( ) : void
Clone ( ) : object
Commit ( ) : void
Deserialize ( string s ) : ScmRepository
GetInterval ( bool formIsActive ) : int
GetRepositoryCommitedRevision ( ) : int
GetRepositoryHeadRevision ( ) : int
GetStatus ( ) : ScmRepositoryStatus
KillBackgroundProcess ( ) : void
OpenChangeLogWindow ( bool updateRevisions ) : void
OpenLogWindow ( ) : void
ReadProcessOutput ( ScmRepositoryProcess sfp ) : void
ScmRepository ( string scmtype, string path, PathType type ) : System
Serialize ( ) : string
Update ( bool updateAll ) : void
create ( string path ) : ScmRepository

Protected Methods

Method Description
ExecuteProcess ( string executionFile, string workingPath, string arguments, bool waitForExit, bool lowPriority ) : ExecuteResult
GetRepositoryRevision ( string binaryPath, string path, string arg ) : int
OnErrorAdded ( string path, string error ) : void

Private Methods

Method Description
DeserializePath ( string s ) : string
SetEnvironmentVariable ( ) : void

Method Details

BeginUpdateSilently() public abstract method

public abstract BeginUpdateSilently ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

Commit() public abstract method

public abstract Commit ( ) : void
return void

Deserialize() public static method

public static Deserialize ( string s ) : ScmRepository
s string
return ScmRepository

ExecuteProcess() protected static method

protected static ExecuteProcess ( string executionFile, string workingPath, string arguments, bool waitForExit, bool lowPriority ) : ExecuteResult
executionFile string
workingPath string
arguments string
waitForExit bool
lowPriority bool
return ExecuteResult

GetInterval() public method

public GetInterval ( bool formIsActive ) : int
formIsActive bool
return int

GetRepositoryCommitedRevision() public abstract method

public abstract GetRepositoryCommitedRevision ( ) : int
return int

GetRepositoryHeadRevision() public abstract method

public abstract GetRepositoryHeadRevision ( ) : int
return int

GetRepositoryRevision() protected static method

protected static GetRepositoryRevision ( string binaryPath, string path, string arg ) : int
binaryPath string
path string
arg string
return int

GetStatus() public abstract method

public abstract GetStatus ( ) : ScmRepositoryStatus
return ScmRepositoryStatus

KillBackgroundProcess() public static method

public static KillBackgroundProcess ( ) : void
return void

OnErrorAdded() protected static method

protected static OnErrorAdded ( string path, string error ) : void
path string
error string
return void

OpenChangeLogWindow() public abstract method

public abstract OpenChangeLogWindow ( bool updateRevisions ) : void
updateRevisions bool
return void

OpenLogWindow() public abstract method

public abstract OpenLogWindow ( ) : void
return void

ReadProcessOutput() public static method

public static ReadProcessOutput ( ScmRepositoryProcess sfp ) : void
sfp ScmRepositoryProcess
return void

ScmRepository() public method

public ScmRepository ( string scmtype, string path, PathType type ) : System
scmtype string
path string
type PathType
return System

Serialize() public method

public Serialize ( ) : string
return string

Update() public abstract method

public abstract Update ( bool updateAll ) : void
updateAll bool
return void

create() public static method

public static create ( string path ) : ScmRepository
path string
return ScmRepository

Property Details

ActiveStatusUpdateInterval public property

public int ActiveStatusUpdateInterval
return int

Disable public property

public bool Disable
return bool

IdleStatusUpdateInterval public property

public int IdleStatusUpdateInterval
return int

Path public property

public string Path
return string

VisiblePath public property

public string VisiblePath
return string

origPath public property

public string origPath
return string

pathType public property

public PathType pathType
return PathType

svnFolderProcesses public static property

public static ArrayList,System.Collections svnFolderProcesses
return System.Collections.ArrayList