C# 클래스 _3PA.MainFeatures.Pro.Deployer

파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DeploySingleFile bool

공개 메소드들

메소드 설명
BuildHtmlTableForRules ( List rules ) : string

returns a string containing an html representation of the compilation path table

DeployFiles ( List deployToDo, Action updateDeploymentPercentage = null ) : List

Deploy a given list of files (can reduce the list if there are duplicated items so it returns it)

DeployFilesForStep ( int step, List listOfSourceDir, SearchOption searchOptions, Action updateDeploymentPercentage = null ) : List

Creates a list of files to deploy after a compilation, for each Origin file will correspond one (or more if it's a .cls) .r file, and one .lst if the option has been checked

Deployer ( ProEnvironment proEnv ) : System

Constructor

Deployer ( ProEnvironment proEnv, Deployer deployer ) : System

Hard copy

EditRules ( ) : void
Export ( ) : void
GetFilesList ( List listOfFolderPath, SearchOption searchOptions, int step ) : HashSet

Returns a list of files in the given folders (recursively or not depending on the option), this list is filtered thanks to the rules given (also, for step == 0, only progress files are listed)

GetTargetDirsNeededForFile ( string sourcePath, int step ) : List

This method returns the transfer directories for the given source path, for each : If CompileLocally, returns the directory of the source If the deployment dir is empty and we didn't match an absolute compilation path, returns the source directoy as well

GetTransfersNeededForFile ( string file, int step ) : List

returns the list of transfers needed for a given file

Import ( ) : void

Read the list of compilation Path Items, if the file is present in the Config dir, use it

IsFilePassingFilters ( string filePath, List includeFiltersList, List excludeFiltersList ) : bool

Returns true if the given file path passes the include + exclude filters

비공개 메소드들

메소드 설명
DeploySingleFile ( FileToDeploy file ) : bool

Transfer a single file

메소드 상세

BuildHtmlTableForRules() 공개 정적인 메소드

returns a string containing an html representation of the compilation path table
public static BuildHtmlTableForRules ( List rules ) : string
rules List
리턴 string

DeployFiles() 공개 메소드

Deploy a given list of files (can reduce the list if there are duplicated items so it returns it)
public DeployFiles ( List deployToDo, Action updateDeploymentPercentage = null ) : List
deployToDo List
updateDeploymentPercentage Action
리턴 List

DeployFilesForStep() 공개 메소드

Creates a list of files to deploy after a compilation, for each Origin file will correspond one (or more if it's a .cls) .r file, and one .lst if the option has been checked
public DeployFilesForStep ( int step, List listOfSourceDir, SearchOption searchOptions, Action updateDeploymentPercentage = null ) : List
step int
listOfSourceDir List
searchOptions SearchOption
updateDeploymentPercentage Action
리턴 List

Deployer() 공개 메소드

Constructor
public Deployer ( ProEnvironment proEnv ) : System
proEnv ProEnvironment
리턴 System

Deployer() 공개 메소드

Hard copy
public Deployer ( ProEnvironment proEnv, Deployer deployer ) : System
proEnv ProEnvironment
deployer Deployer
리턴 System

EditRules() 공개 정적인 메소드

public static EditRules ( ) : void
리턴 void

Export() 공개 정적인 메소드

public static Export ( ) : void
리턴 void

GetFilesList() 공개 메소드

Returns a list of files in the given folders (recursively or not depending on the option), this list is filtered thanks to the rules given (also, for step == 0, only progress files are listed)
public GetFilesList ( List listOfFolderPath, SearchOption searchOptions, int step ) : HashSet
listOfFolderPath List
searchOptions SearchOption
step int
리턴 HashSet

GetTargetDirsNeededForFile() 공개 메소드

This method returns the transfer directories for the given source path, for each : If CompileLocally, returns the directory of the source If the deployment dir is empty and we didn't match an absolute compilation path, returns the source directoy as well
public GetTargetDirsNeededForFile ( string sourcePath, int step ) : List
sourcePath string
step int
리턴 List

GetTransfersNeededForFile() 공개 메소드

returns the list of transfers needed for a given file
public GetTransfersNeededForFile ( string file, int step ) : List
file string
step int
리턴 List

Import() 공개 정적인 메소드

Read the list of compilation Path Items, if the file is present in the Config dir, use it
public static Import ( ) : void
리턴 void

IsFilePassingFilters() 공개 메소드

Returns true if the given file path passes the include + exclude filters
public IsFilePassingFilters ( string filePath, List includeFiltersList, List excludeFiltersList ) : bool
filePath string
includeFiltersList List
excludeFiltersList List
리턴 bool