Examples of PluginOperation


Examples of org.pentaho.platform.engine.core.solution.PluginOperation

        for ( Object operationObj : operationNodes ) {
          Element operationNode = (Element) operationObj;
          String id = XmlDom4JHelper.getNodeText( "id", operationNode, "" ); //$NON-NLS-1$ //$NON-NLS-2$
          String perspective = XmlDom4JHelper.getNodeText( "perspective", operationNode, "" ); //$NON-NLS-1$ //$NON-NLS-2$
          if ( StringUtils.isNotEmpty( id ) ) {
            PluginOperation operation = new PluginOperation( id );
            if ( StringUtils.isNotEmpty( perspective ) ) {
              operation.setPerspective( perspective );
            }

            contentInfo.addOperation( operation );
          }
        }
View Full Code Here

Examples of org.pentaho.platform.engine.core.solution.PluginOperation

      type.setExtension( "test10type1-ext" );
      type.setMimeType( "test10type1-mimeType" );
      type.setTitle( "test10type1-title" );
      type.setIconUrl( "test10type1-url" );

      type.addOperation( new PluginOperation( "test10type1-oper1-id" ) );
      PluginOperation oper2 = new PluginOperation( "test10type1-oper2-id" );
      oper2.setPerspective( "test10type1-oper2-perspective" );
      type.addOperation( oper2 );

      p.addContentInfo( type );

      type = new ContentInfo();
View Full Code Here

Examples of org.syncany.operations.plugin.PluginOperation

  public CleanupOperationResult cleanup(CleanupOperationOptions options) throws Exception {
    return new CleanupOperation(config, options).execute();
  }

  public PluginOperationResult plugin(PluginOperationOptions options) throws Exception {
    return new PluginOperation(config, options).execute();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.