C# Class Cydin.Builder.BuildService

Exibir arquivo Open project: slluis/cydin Class Usage Examples

Public Methods

Method Description
AuthorizeServiceConnection ( string address ) : void
Build ( int appId, int projectId ) : void
BuildAll ( ) : void
BuildAll ( int appId ) : void
CheckClient ( ) : void
Connect ( ) : bool
Disconnect ( ) : void
Log ( Exception ex ) : void
Log ( LogSeverity severity, string message ) : void
PublishRelease ( UserModel m, SourceTag source, bool activate ) : Cydin.Models.Release
SendMail ( IEnumerable addresses, string subject, string body ) : void
UpdateRepositories ( bool forceUpdate ) : void

Private Methods

Method Description
AppendName ( string file, string name ) : void
BuildService ( ) : System
ConnectEventsStream ( TextWriter tw ) : WaitHandle
FindFiles ( HashSet fileList, string path ) : void
GenerateInstallerFile ( UserModel m, string packagesPath, Cydin.Models.Release rel ) : void
GenerateInstallerXml ( TextWriter sw, UserModel m, Cydin.Models.Release rel ) : void
GetCompatibleAppVersions ( UserModel m, List allAppReleases, string appVersion ) : string[]
GetNewerCompatibleAppVersions ( UserModel m, List allAppReleases, string appVersion ) : List
IsLatestRelease ( UserModel m, List allAppReleases, List releases, Cydin.Models.Release release, string platform, string targetAppVersion ) : bool
NotifyEvent ( string eventId, int appId, int projectId ) : void
RunCommand ( string command, string args, StringBuilder output, StringBuilder error, int timeout ) : void
RunUpdater ( ) : void
UpdateAllRepos ( bool updateAll ) : void
UpdateRepos ( int appId, bool updateAll ) : void

Method Details

AuthorizeServiceConnection() public static method

public static AuthorizeServiceConnection ( string address ) : void
address string
return void

Build() public static method

public static Build ( int appId, int projectId ) : void
appId int
projectId int
return void

BuildAll() public static method

public static BuildAll ( ) : void
return void

BuildAll() public static method

public static BuildAll ( int appId ) : void
appId int
return void

CheckClient() public static method

public static CheckClient ( ) : void
return void

Connect() public static method

public static Connect ( ) : bool
return bool

Disconnect() public static method

public static Disconnect ( ) : void
return void

Log() public static method

public static Log ( Exception ex ) : void
ex System.Exception
return void

Log() public static method

public static Log ( LogSeverity severity, string message ) : void
severity LogSeverity
message string
return void

PublishRelease() public static method

public static PublishRelease ( UserModel m, SourceTag source, bool activate ) : Cydin.Models.Release
m Cydin.Models.UserModel
source Cydin.Models.SourceTag
activate bool
return Cydin.Models.Release

SendMail() public static method

public static SendMail ( IEnumerable addresses, string subject, string body ) : void
addresses IEnumerable
subject string
body string
return void

UpdateRepositories() public static method

public static UpdateRepositories ( bool forceUpdate ) : void
forceUpdate bool
return void