Constructor and Description |
---|
OpenOptions()
Use default options of truncate = true, createIfNeeded = true;
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAppend()
Should an existing file be appended to when opened.
|
boolean |
isCreateIfNeeded()
If true, create the resource if it does not exist.
|
boolean |
isTruncate()
Should an existing file be truncated when opened.
|
OpenOptions |
setAppend(boolean append) |
OpenOptions |
setCreateIfNeeded(boolean createIfNeeded) |
OpenOptions |
setTruncate(boolean truncate) |
public OpenOptions()
public boolean isTruncate()
isAppend()
are automatically kept in sync with each other.public OpenOptions setTruncate(boolean truncate)
public boolean isAppend()
isTruncate()
are automatically kept in sync with each other.public OpenOptions setAppend(boolean append)
public boolean isCreateIfNeeded()
public OpenOptions setCreateIfNeeded(boolean createIfNeeded)
Copyright © 2023 Liquibase.org. All rights reserved.