Java Code Examples for org.apache.nifi.reporting.Bulletin#setGroupId()

The following examples show how to use org.apache.nifi.reporting.Bulletin#setGroupId() . 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: BulletinFactory.java    From localization_nifi with Apache License 2.0 5 votes vote down vote up
public static Bulletin createBulletin(final String groupId, final String sourceId, final ComponentType sourceType, final String sourceName,
    final String category, final String severity, final String message) {
    final Bulletin bulletin = new ComponentBulletin(currentId.getAndIncrement());
    bulletin.setGroupId(groupId);
    bulletin.setSourceId(sourceId);
    bulletin.setSourceType(sourceType);
    bulletin.setSourceName(sourceName);
    bulletin.setCategory(category);
    bulletin.setLevel(severity);
    bulletin.setMessage(message);
    return bulletin;
}
 
Example 2
Source File: BulletinFactory.java    From nifi with Apache License 2.0 5 votes vote down vote up
public static Bulletin createBulletin(final String groupId, final String sourceId, final ComponentType sourceType, final String sourceName,
    final String category, final String severity, final String message) {
    final Bulletin bulletin = new ComponentBulletin(currentId.getAndIncrement());
    bulletin.setGroupId(groupId);
    bulletin.setSourceId(sourceId);
    bulletin.setSourceType(sourceType);
    bulletin.setSourceName(sourceName);
    bulletin.setCategory(category);
    bulletin.setLevel(severity);
    bulletin.setMessage(message);
    return bulletin;
}
 
Example 3
Source File: BulletinFactory.java    From nifi with Apache License 2.0 5 votes vote down vote up
public static Bulletin createBulletin(final String groupId, final String groupName, final String sourceId, final ComponentType sourceType,
        final String sourceName, final String category, final String severity, final String message) {
    final Bulletin bulletin = new ComponentBulletin(currentId.getAndIncrement());
    bulletin.setGroupId(groupId);
    bulletin.setGroupName(groupName);
    bulletin.setSourceId(sourceId);
    bulletin.setSourceType(sourceType);
    bulletin.setSourceName(sourceName);
    bulletin.setCategory(category);
    bulletin.setLevel(severity);
    bulletin.setMessage(message);
    return bulletin;
}
 
Example 4
Source File: BulletinFactory.java    From nifi with Apache License 2.0 5 votes vote down vote up
public static Bulletin createBulletin(final String groupId, final String groupName, final String sourceId, final ComponentType sourceType,
        final String sourceName, final String category, final String severity, final String message, final String groupPath) {
    final Bulletin bulletin = new ComponentBulletin(currentId.getAndIncrement());
    bulletin.setGroupId(groupId);
    bulletin.setGroupName(groupName);
    bulletin.setGroupPath(groupPath);
    bulletin.setSourceId(sourceId);
    bulletin.setSourceType(sourceType);
    bulletin.setSourceName(sourceName);
    bulletin.setCategory(category);
    bulletin.setLevel(severity);
    bulletin.setMessage(message);
    return bulletin;
}