Class IngestionProcessAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<IngestionProcessAssert,com.snowflake.connectors.application.ingestion.process.IngestionProcess>
-
- com.snowflake.connectors.common.assertions.ingestion.IngestionProcessAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<IngestionProcessAssert,com.snowflake.connectors.application.ingestion.process.IngestionProcess>
,org.assertj.core.api.Descriptable<IngestionProcessAssert>
,org.assertj.core.api.ExtensionPoints<IngestionProcessAssert,com.snowflake.connectors.application.ingestion.process.IngestionProcess>
public class IngestionProcessAssert extends org.assertj.core.api.AbstractAssert<IngestionProcessAssert,com.snowflake.connectors.application.ingestion.process.IngestionProcess>
AssertJ based assertions forIngestionProcess
.
-
-
Constructor Summary
Constructors Constructor Description IngestionProcessAssert(com.snowflake.connectors.application.ingestion.process.IngestionProcess ingestionProcess, Class<IngestionProcessAssert> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestionProcessAssert
hasCreatedAt(Instant createdAt)
Asserts that this ingestion process has a createdAt timestamp equal to the specified value.IngestionProcessAssert
hasFinishedAt(Instant finishedAt)
Asserts that this ingestion process has a finishedAt timestamp equal to the specified value.IngestionProcessAssert
hasFinishedAtNull(boolean nullCheckResult)
Asserts that null-check result for finishedAt timestamp of this ingestion process is equal to the specified value.IngestionProcessAssert
hasId(String id)
Asserts that this ingestion process has an id equal to the specified value.IngestionProcessAssert
hasIngestionConfigurationId(String ingestionConfigurationId)
Asserts that this ingestion process has an ingestion configuration id equal to the specified value.IngestionProcessAssert
hasMetadata(Variant metadata)
Asserts that this ingestion process has a metadata equal to the specified value.IngestionProcessAssert
hasResourceIngestionDefinitionId(String resourceIngestionDefinitionId)
Asserts that this ingestion process has a resource ingestion definition id equal to the specified value.IngestionProcessAssert
hasStatus(String status)
Asserts that this ingestion process has a status equal to the specified value.IngestionProcessAssert
hasType(String type)
Asserts that this ingestion process has a type equal to the specified value.-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
IngestionProcessAssert
public IngestionProcessAssert(com.snowflake.connectors.application.ingestion.process.IngestionProcess ingestionProcess, Class<IngestionProcessAssert> selfType)
-
-
Method Detail
-
hasId
public IngestionProcessAssert hasId(String id)
Asserts that this ingestion process has an id equal to the specified value.- Parameters:
id
- expected id- Returns:
- this assertion
-
hasResourceIngestionDefinitionId
public IngestionProcessAssert hasResourceIngestionDefinitionId(String resourceIngestionDefinitionId)
Asserts that this ingestion process has a resource ingestion definition id equal to the specified value.- Parameters:
resourceIngestionDefinitionId
- expected resource ingestion definition id- Returns:
- this assertion
-
hasIngestionConfigurationId
public IngestionProcessAssert hasIngestionConfigurationId(String ingestionConfigurationId)
Asserts that this ingestion process has an ingestion configuration id equal to the specified value.- Parameters:
ingestionConfigurationId
- expected ingestion configuration id- Returns:
- this assertion
-
hasType
public IngestionProcessAssert hasType(String type)
Asserts that this ingestion process has a type equal to the specified value.- Parameters:
type
- expected type- Returns:
- this assertion
-
hasStatus
public IngestionProcessAssert hasStatus(String status)
Asserts that this ingestion process has a status equal to the specified value.- Parameters:
status
- expected status- Returns:
- this assertion
-
hasCreatedAt
public IngestionProcessAssert hasCreatedAt(Instant createdAt)
Asserts that this ingestion process has a createdAt timestamp equal to the specified value.- Parameters:
createdAt
- expected createdAt timestamp- Returns:
- this assertion
-
hasFinishedAt
public IngestionProcessAssert hasFinishedAt(Instant finishedAt)
Asserts that this ingestion process has a finishedAt timestamp equal to the specified value.- Parameters:
finishedAt
- expected finishedAt timestamp- Returns:
- this assertion
-
hasFinishedAtNull
public IngestionProcessAssert hasFinishedAtNull(boolean nullCheckResult)
Asserts that null-check result for finishedAt timestamp of this ingestion process is equal to the specified value.- Parameters:
nullCheckResult
- expected null-check result- Returns:
- this assertion
-
hasMetadata
public IngestionProcessAssert hasMetadata(Variant metadata)
Asserts that this ingestion process has a metadata equal to the specified value.- Parameters:
metadata
- expected metadata- Returns:
- this assertion
-
-