C# 클래스 CommandLineParser, TabMigrate

Gives parsed values for the command line arguments
파일 보기 프로젝트 열기: tableau/TabMigrate 1 사용 예제들

공개 메소드들

메소드 설명
GenerateCommandLine_SiteExport ( bool showPasswordInUi, string pathToExportDir, string siteUrl, string userName, string password, bool isSiteAdmin, string exportSingleProject, string exportOnlyWithTag, bool removeExportTag, string pathToLogFile, string pathToErrorsFile, bool backgroundKeepAliveRequests, bool logVerbose, bool generateDownloadInfoFiles, string &commandLineOut, CommandLineParser, &parsedCommandLine ) : void

Gives us an example command line for getting a site inventory

GenerateCommandLine_SiteInventory ( bool showPasswordInUi, string pathToOutputFile, string siteUrl, string userName, string password, bool isSystemAdmin, string pathToLogFile, string pathToErrorsFile, bool generateTwbFile, bool logVerbose, string &commandLineOut, CommandLineParser, &parsedCommandLine ) : void

Gives us an example command line for getting a site inventory

HasUseableCommandLine ( CommandLineParser, commandLine ) : bool

TRUE if we believe there is enough information in the command line to proceed with running the headless task

비공개 메소드들

메소드 설명
GenerateCommandLine_SiteImport ( bool showPasswordInUi, string pathToImportFrom, string siteUrl, string userName, string password, bool isSiteAdmin, bool remapDataServerReferences, string pathToDbCredentialsFile, string pathToLogFile, string pathToErrorsFile, string pathToManualStepsFile, bool remapContentOwnership, bool logVerbose, string &commandLineOut, CommandLineParser, &parsedCommandLine ) : void

Site import from local file system

helper_AppendParameter ( List arguments, StringBuilder sb, string param, string value ) : void

Appends a paramter and value

helper_AppendParameter ( List arguments, StringBuilder sb, string param, string value, string valueForStringBuilder ) : void

Appends a paramter and value

helper_BoolToText ( bool b ) : string

Simple conversion bool to text

helper_DetermineIfDummyPasswordNeeded ( bool showPasswordInUi, string password ) : string

Determines whether we are showing the dummy password or not

메소드 상세

GenerateCommandLine_SiteExport() 공개 정적인 메소드

Gives us an example command line for getting a site inventory
public static GenerateCommandLine_SiteExport ( bool showPasswordInUi, string pathToExportDir, string siteUrl, string userName, string password, bool isSiteAdmin, string exportSingleProject, string exportOnlyWithTag, bool removeExportTag, string pathToLogFile, string pathToErrorsFile, bool backgroundKeepAliveRequests, bool logVerbose, bool generateDownloadInfoFiles, string &commandLineOut, CommandLineParser, &parsedCommandLine ) : void
showPasswordInUi bool
pathToExportDir string
siteUrl string
userName string
password string
isSiteAdmin bool
exportSingleProject string
exportOnlyWithTag string
removeExportTag bool
pathToLogFile string
pathToErrorsFile string
backgroundKeepAliveRequests bool
logVerbose bool
generateDownloadInfoFiles bool
commandLineOut string Command line as text ready to show the user
parsedCommandLine CommandLineParser, Command line as set of
리턴 void

GenerateCommandLine_SiteInventory() 공개 정적인 메소드

Gives us an example command line for getting a site inventory
public static GenerateCommandLine_SiteInventory ( bool showPasswordInUi, string pathToOutputFile, string siteUrl, string userName, string password, bool isSystemAdmin, string pathToLogFile, string pathToErrorsFile, bool generateTwbFile, bool logVerbose, string &commandLineOut, CommandLineParser, &parsedCommandLine ) : void
showPasswordInUi bool
pathToOutputFile string
siteUrl string
userName string
password string
isSystemAdmin bool
pathToLogFile string
pathToErrorsFile string
generateTwbFile bool
logVerbose bool
commandLineOut string Command line as text ready to show the user
parsedCommandLine CommandLineParser, Command line as set of
리턴 void

HasUseableCommandLine() 공개 정적인 메소드

TRUE if we believe there is enough information in the command line to proceed with running the headless task
public static HasUseableCommandLine ( CommandLineParser, commandLine ) : bool
commandLine CommandLineParser,
리턴 bool