C# Class Cydin.Builder.BuildService

Afficher le fichier Open project: slluis/cydin Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static AuthorizeServiceConnection ( string address ) : void
address string
Résultat void

Build() public static méthode

public static Build ( int appId, int projectId ) : void
appId int
projectId int
Résultat void

BuildAll() public static méthode

public static BuildAll ( ) : void
Résultat void

BuildAll() public static méthode

public static BuildAll ( int appId ) : void
appId int
Résultat void

CheckClient() public static méthode

public static CheckClient ( ) : void
Résultat void

Connect() public static méthode

public static Connect ( ) : bool
Résultat bool

Disconnect() public static méthode

public static Disconnect ( ) : void
Résultat void

Log() public static méthode

public static Log ( Exception ex ) : void
ex System.Exception
Résultat void

Log() public static méthode

public static Log ( LogSeverity severity, string message ) : void
severity LogSeverity
message string
Résultat void

PublishRelease() public static méthode

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

SendMail() public static méthode

public static SendMail ( IEnumerable addresses, string subject, string body ) : void
addresses IEnumerable
subject string
body string
Résultat void

UpdateRepositories() public static méthode

public static UpdateRepositories ( bool forceUpdate ) : void
forceUpdate bool
Résultat void