| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private String | |
| protected List | |
| private static final Long | |
| protected Integer | |
| private static final Long | |
| private List | |
| private static final Long | |
| private String | |
| private static final Pattern | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| args | back to summary |
|---|---|
| private final List<String> args | |
| executable | back to summary |
|---|---|
| private String executable | |
| finalCommandArray | back to summary |
|---|---|
| protected List<String> finalCommandArray | |
| HOUR_IN_MILLIS | back to summary |
|---|---|
| private static final Long HOUR_IN_MILLIS | |
| maxStreamGobblerOutput | back to summary |
|---|---|
| protected Integer maxStreamGobblerOutput | |
| MIN_IN_MILLIS | back to summary |
|---|---|
| private static final Long MIN_IN_MILLIS | |
| os | back to summary |
|---|---|
| private List<String> os | |
| SECS_IN_MILLIS | back to summary |
|---|---|
| private static final Long SECS_IN_MILLIS | |
| timeout | back to summary |
|---|---|
| private String timeout | |
| TIMEOUT_PATTERN | back to summary |
|---|---|
| private static final Pattern TIMEOUT_PATTERN | |
| TIMEOUT_REGEX | back to summary |
|---|---|
| private static final String TIMEOUT_REGEX | |
| ExecuteShellCommandChange | back to summary |
|---|---|
| public ExecuteShellCommandChange() | |
| addArg | back to summary |
|---|---|
| public void addArg(String arg) | |
| createErrorGobbler | back to summary |
|---|---|
| protected ExecuteShellCommandChange. | |
| createFinalCommandArray | back to summary |
|---|---|
| protected List | |
| createProcessBuilder | back to summary |
|---|---|
| protected ProcessBuilder createProcessBuilder(Database database) | |
| customLoadLogic | back to summary |
|---|---|
| protected void customLoadLogic(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Overrides liquibase.
| |
| executeCommand | back to summary |
|---|---|
| protected void executeCommand(Database database) throws Exception | |
| generateRollbackStatementsVolatile | back to summary |
|---|---|
| public boolean generateRollbackStatementsVolatile(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| generateStatements | back to summary |
|---|---|
| public SqlStatement[] generateStatements(final Database database) Implements liquibase. Doc from liquibase. Generates the generateStatementsVolatile.
| |
| generateStatementsVolatile | back to summary |
|---|---|
| public boolean generateStatementsVolatile(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| getArgs | back to summary |
|---|---|
| public List | |
| getCommandString | back to summary |
|---|---|
| protected String getCommandString() | |
| getConfirmationMessage | back to summary |
|---|---|
| public String getConfirmationMessage() Implements liquibase. Doc from liquibase. Confirmation message to be displayed after the change is executed. Should include relevant configuration settings to make it as helpful as possible. This method may be called outside the changelog execution process, such as in documentation generation.
| |
| getExecutable | back to summary |
|---|---|
public String getExecutable()
| |
| getMaxStreamGobblerOutput | back to summary |
|---|---|
| protected Integer getMaxStreamGobblerOutput() Max bytes to copy from output to | |
| getOs | back to summary |
|---|---|
public List
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Overrides liquibase. Implements liquibase.
| |
| getTimeout | back to summary |
|---|---|
public String getTimeout()
| |
| getTimeoutInMillis | back to summary |
|---|---|
protected long getTimeoutInMillis()
| |
| processResult | back to summary |
|---|---|
| protected void processResult(int returnCode, String errorStreamOut, String infoStreamOut, Database database) Called by | |
| setExecutable | back to summary |
|---|---|
| public void setExecutable(String executable) | |
| setOs | back to summary |
|---|---|
| public void setOs(String os) | |
| setTimeout | back to summary |
|---|---|
| public void setTimeout(String timeout) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides liquibase. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| validate | back to summary |
|---|---|
| public ValidationErrors validate(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation checks the ChangeParameterMetaData for declared required fields
and also delegates logic to the
| |
| waitForOrKill | back to summary |
|---|---|
| private int waitForOrKill(final Process process, final long timeoutInMillis) throws TimeoutException Waits for the process to complete and kills it if the process is not finished after the specified Creates a scheduled task to destroy the process in given timeout milliseconds. This killer task will be cancelled if the process returns before the timeout value.
| |
| warn | back to summary |
|---|---|
| public Warnings warn(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv boolean | |
| private final OutputStream | |
| private final Thread | |
| private InputStream | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| copiedSize | back to summary |
|---|---|
| pack-priv long copiedSize | |
| loggedTruncated | back to summary |
|---|---|
| pack-priv boolean loggedTruncated | |
| outputStream | back to summary |
|---|---|
| private final OutputStream outputStream | |
| parentThread | back to summary |
|---|---|
| private final Thread parentThread | |
| processStream | back to summary |
|---|---|
| private InputStream processStream | |
| THREAD_SLEEP_MILLIS | back to summary |
|---|---|
| private static final int THREAD_SLEEP_MILLIS | |
| StreamGobbler | back to summary |
|---|---|
| public StreamGobbler(InputStream processStream, OutputStream outputStream, Thread parentThread) | |
| copy | back to summary |
|---|---|
| public void copy(InputStream inputStream, OutputStream outputStream) throws IOException | |
| finish | back to summary |
|---|---|
| public void finish() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |