Search in sources :

Example 1 with ConfigureDetails

use of org.apache.nifi.action.details.ConfigureDetails in project nifi by apache.

the class TestRemoteProcessGroupAuditor method assertConfigureDetails.

private void assertConfigureDetails(final ActionDetails actionDetails, final String name, final Object previousValue, final Object value) {
    final ConfigureDetails configureDetails = (ConfigureDetails) actionDetails;
    assertEquals(name, configureDetails.getName());
    assertEquals(previousValue != null ? previousValue.toString() : "", configureDetails.getPreviousValue());
    assertEquals(value != null ? value.toString() : "", configureDetails.getValue());
}
Also used : ConfigureDetails(org.apache.nifi.action.details.ConfigureDetails)

Aggregations

ConfigureDetails (org.apache.nifi.action.details.ConfigureDetails)1