Search in sources :

Example 1 with CreateFlow

use of org.apache.nifi.toolkit.cli.impl.command.registry.flow.CreateFlow in project nifi by apache.

the class NiFiRegistryCommandGroup method createCommands.

@Override
protected List<Command> createCommands() {
    final List<AbstractNiFiRegistryCommand> commandList = new ArrayList<>();
    commandList.add(new CurrentUser());
    commandList.add(new ListBuckets());
    commandList.add(new CreateBucket());
    commandList.add(new DeleteBucket());
    commandList.add(new ListFlows());
    commandList.add(new CreateFlow());
    commandList.add(new DeleteFlow());
    commandList.add(new ListFlowVersions());
    commandList.add(new ExportFlowVersion());
    commandList.add(new ImportFlowVersion());
    commandList.add(new SyncFlowVersions());
    commandList.add(new TransferFlowVersion());
    return new ArrayList<>(commandList);
}
Also used : DeleteFlow(org.apache.nifi.toolkit.cli.impl.command.registry.flow.DeleteFlow) CreateFlow(org.apache.nifi.toolkit.cli.impl.command.registry.flow.CreateFlow) CurrentUser(org.apache.nifi.toolkit.cli.impl.command.registry.user.CurrentUser) ExportFlowVersion(org.apache.nifi.toolkit.cli.impl.command.registry.flow.ExportFlowVersion) ArrayList(java.util.ArrayList) ListFlowVersions(org.apache.nifi.toolkit.cli.impl.command.registry.flow.ListFlowVersions) TransferFlowVersion(org.apache.nifi.toolkit.cli.impl.command.registry.flow.TransferFlowVersion) ImportFlowVersion(org.apache.nifi.toolkit.cli.impl.command.registry.flow.ImportFlowVersion) SyncFlowVersions(org.apache.nifi.toolkit.cli.impl.command.registry.flow.SyncFlowVersions) DeleteBucket(org.apache.nifi.toolkit.cli.impl.command.registry.bucket.DeleteBucket) ListBuckets(org.apache.nifi.toolkit.cli.impl.command.registry.bucket.ListBuckets) CreateBucket(org.apache.nifi.toolkit.cli.impl.command.registry.bucket.CreateBucket) ListFlows(org.apache.nifi.toolkit.cli.impl.command.registry.flow.ListFlows)

Aggregations

ArrayList (java.util.ArrayList)1 CreateBucket (org.apache.nifi.toolkit.cli.impl.command.registry.bucket.CreateBucket)1 DeleteBucket (org.apache.nifi.toolkit.cli.impl.command.registry.bucket.DeleteBucket)1 ListBuckets (org.apache.nifi.toolkit.cli.impl.command.registry.bucket.ListBuckets)1 CreateFlow (org.apache.nifi.toolkit.cli.impl.command.registry.flow.CreateFlow)1 DeleteFlow (org.apache.nifi.toolkit.cli.impl.command.registry.flow.DeleteFlow)1 ExportFlowVersion (org.apache.nifi.toolkit.cli.impl.command.registry.flow.ExportFlowVersion)1 ImportFlowVersion (org.apache.nifi.toolkit.cli.impl.command.registry.flow.ImportFlowVersion)1 ListFlowVersions (org.apache.nifi.toolkit.cli.impl.command.registry.flow.ListFlowVersions)1 ListFlows (org.apache.nifi.toolkit.cli.impl.command.registry.flow.ListFlows)1 SyncFlowVersions (org.apache.nifi.toolkit.cli.impl.command.registry.flow.SyncFlowVersions)1 TransferFlowVersion (org.apache.nifi.toolkit.cli.impl.command.registry.flow.TransferFlowVersion)1 CurrentUser (org.apache.nifi.toolkit.cli.impl.command.registry.user.CurrentUser)1