com.sampullara.cli.Argument Java Examples
The following examples show how to use
com.sampullara.cli.Argument.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 5 votes |
@Argument( value = "cleanOnly", description = "DEPRECATED - use the -action argument. Indicates if the environments should be wiped prior to development and nothing else done. " + "Only allowed for certain environments, per the metadata setup") public void setCleanOnly(boolean cleanOnly) { this.cleanOnly = cleanOnly; }
Example #2
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "sourcePath", required = false) public void setSourcePath(String sourcePath) { this.sourcePath = sourcePath; }
Example #3
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "onboardingMode", description = "Enable the mode to help when initially onboarding an existing reverse-engineered schema") public void setOnboardingMode(boolean onboardingMode) { this.onboardingMode = onboardingMode; }
Example #4
Source File: AquaRevengArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "preprocessSchemaTokens", required = false, description = "Specifies if we try to replace the existing schema references with blanks for easier cross-schema compatibility of scripts. Default is true; only set to false if the schema prefixes had already been stripped out previously.") public void setPreprocessSchemaTokensStr(String preprocessSchemaTokens) { this.preprocessSchemaTokens = Boolean.valueOf(preprocessSchemaTokens); }
Example #5
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "preview", required = false, description = "Will only preview the changes and not proceed with the actual deployment (only for deployers that support it, e.g. Database)") public void setPreview(boolean preview) { this.preview = preview; }
Example #6
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "performInitOnly", required = false, description = "performInitOnly") public void setPerformInitOnly(boolean performInitOnly) { this.performInitOnly = performInitOnly; }
Example #7
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "workDir", required = false, description = "only used for unit tests or special cases") public void setWorkDir(File workDir) { this.workDir = workDir; }
Example #8
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "rollback", required = false, description = "Will carry out the deployment in rollback mode (assumes that you are already pointing to the old location)") public void setRollback(boolean rollback) { this.rollback = rollback; }
Example #9
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "allChangesets", description = "Whether to force deployments of all changesets (both default and named changesets); defaults to false (only to deploy the default changeset)") public void setAllChangesets(boolean allChangesets) { this.allChangesets = allChangesets; }
Example #10
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "productVersion", description = "(Optional, defaults to null) The version number that the user assigns to a product. Meant to help w/ audit trail and special features like rollback detection.") public void setProductVersion(String productVersion) { this.productVersion = productVersion; }
Example #11
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
/** * No longer used, as this is lenient by default. * * @deprecated See {@link #isStrictSetupEnvInfra()} */ @Argument(value = "lenientSetupEnvInfra", description = "Deprecated - the setupEnvironmentInfra command is now lenient by default. See the -strictSetupEnvInfra option instead if you'd like it strict") @Deprecated public void setLenientSetupEnvInfra(boolean lenientSetupEnvInfra) { this.lenientSetupEnvInfra = lenientSetupEnvInfra; }
Example #12
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "strictSetupEnvInfra", description = "Include this option to fail in case of missing groups/users; default is to log a warning") public void setStrictSetupEnvInfra(boolean strictSetupEnvInfra) { this.strictSetupEnvInfra = strictSetupEnvInfra; }
Example #13
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "forceEnvSetup", description = "Whether to create schema objects prior to object deployment; default is to go w/ the platform-specific behavior") public void setForceEnvSetup(Boolean forceEnvSetup) { this.forceEnvSetup = forceEnvSetup; }
Example #14
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "sourceGraphExportFile", required = false, description = "file to write the graph represent of the input for") public void setSourceGraphExportFile(File sourceGraphExportFile) { this.sourceGraphExportFile = sourceGraphExportFile; }
Example #15
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "sourceGraphExportFormat", required = false, description = "output to write to, based on JGraphT implementation. Only used if sourceGraphExportFile is specified. Can be DOT, GML, GRAPHML, MATRIX. Default == DOT") public void setSourceGraphExportFormatStr(String sourceGraphExportFormat) { this.sourceGraphExportFormatStr = sourceGraphExportFormat; }
Example #16
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "changesets", description = "Changeset names to deploy; defaults to empty, which means to only deploy the default changeset") public void setChangesets(String[] changesets) { this.changesets = changesets; }
Example #17
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "deployUserId", required = false, description = "Kerberos of deployer (for auditing)") public void setDeployUserId(String deployUserId) { this.deployUserId = deployUserId; }
Example #18
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "keytabPath", required = false, description = "path to the keytab to authenticate it; only supported in Sybase IQ ODBC drivers currently") public void setKeytabPath(String keytabPath) { this.keytabPath = keytabPath; }
Example #19
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "useKerberosAuth", required = false, description = "true if an existing kerberos ticket should be used for authentication; defaults to false (i.e. needing a password)") public void setUseKerberosAuth(boolean useKerberosAuth) { this.useKerberosAuth = useKerberosAuth; }
Example #20
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "password", required = false, description = "kerberos password for the deployUserId") public void setPassword(String password) { this.password = password; }
Example #21
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "noPrompt", description = "If set, then the deployment will proceed without user prompting") public void setNoPrompt(boolean noPrompt) { this.noPrompt = noPrompt; }
Example #22
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "includeFile", description = "If set, then will use the include files for db objects deployments.") public void setIncludeFile(String includeFile) { this.includeFile = includeFile; }
Example #23
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "useBaseline", description = "If set, then will use the baseline files for db table deployments. Only to be used in a test schema") public void setUseBaseline(boolean useBaseline) { this.useBaseline = useBaseline; }
Example #24
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument( value = "cleanFirst", description = "DEPRECATED - use the -action argument. Indicates if the environments should be wiped prior to development. Only allowed for certain environments, per the metadata setup") public void setCleanFirst(boolean cleanFirst) { this.cleanFirst = cleanFirst; }
Example #25
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "setupEnvInfraOnly", description = "DEPRECATED") public void setSetupEnvInfraOnly(boolean setupEnvInfraOnly) { this.setupEnvInfraOnly = setupEnvInfraOnly; }
Example #26
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "action", required = false, description = "3 possible arguments as a comma-separated list - deploy, clean (wipes all db objects), and setup (DEPRECATED). Defaults to deploy." ) public void setActions(String[] actions) { this.actions = actions; }
Example #27
Source File: DeployerArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "env", required = false) public void setEnvNames(String[] envNames) { this.envNames = envNames; }
Example #28
Source File: AquaRevengArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "charsetEncoding", required = false, description = "Few schemas may need different encoding e.g. UTF-8") public void setCharsetEncoding(String charsetEncoding) { this.charsetEncoding = charsetEncoding; }
Example #29
Source File: AquaRevengArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "debugLogEnabled", required = false, description = "Whether additional logging information should be printed for reverse-engineering") public void setDebugLogEnabled(boolean debugLogEnabled) { this.debugLogEnabled = debugLogEnabled; }
Example #30
Source File: AquaRevengArgs.java From obevo with Apache License 2.0 | 4 votes |
@Argument(value = "excludeObjects", required = false, description = "Object patterns to exclude from reverse-engineering, e.g. TABLE~tab1,tab2;VIEW~view1,view2") public void setExcludeObjects(String excludeObjects) { this.excludeObjects = excludeObjects; }