Package com.eviware.soapui.config

Examples of com.eviware.soapui.config.EndpointsConfig


    return getOperationList();
  }

  public String[] getEndpoints()
  {
    EndpointsConfig endpoints = getConfig().getEndpoints();
    List<String> endpointArray = endpoints.getEndpointList();
    return endpointArray.toArray( new String[endpointArray.size()] );
  }
View Full Code Here


    if( oldEndpoint == null || oldEndpoint.trim().length() == 0 )
      return;
    if( newEndpoint == null || newEndpoint.trim().length() == 0 )
      return;

    EndpointsConfig endpoints = getConfig().getEndpoints();

    for( int c = 0; c < endpoints.sizeOfEndpointArray(); c++ )
    {
      if( endpoints.getEndpointArray( c ).equals( oldEndpoint ) )
      {
        endpoints.setEndpointArray( c, newEndpoint );
        notifyPropertyChanged( ENDPOINT_PROPERTY, oldEndpoint, newEndpoint );
        break;
      }
    }
  }
View Full Code Here

    }
  }

  public void removeEndpoint( String endpoint )
  {
    EndpointsConfig endpoints = getConfig().getEndpoints();

    for( int c = 0; c < endpoints.sizeOfEndpointArray(); c++ )
    {
      if( endpoints.getEndpointArray( c ).equals( endpoint ) )
      {
        endpoints.removeEndpoint( c );
        notifyPropertyChanged( ENDPOINT_PROPERTY, endpoint, null );
        break;
      }
    }
  }
View Full Code Here

    public List<? extends ModelItem> getChildren() {
        return getOperationList();
    }

    public String[] getEndpoints() {
        EndpointsConfig endpoints = getConfig().getEndpoints();
        List<String> endpointArray = endpoints.getEndpointList();
        Collections.sort(endpointArray);
        return endpointArray.toArray(new String[endpointArray.size()]);
    }
View Full Code Here

        }
        if (newEndpoint == null || newEndpoint.trim().length() == 0) {
            return;
        }

        EndpointsConfig endpoints = getConfig().getEndpoints();

        for (int c = 0; c < endpoints.sizeOfEndpointArray(); c++) {
            if (endpoints.getEndpointArray(c).equals(oldEndpoint)) {
                endpoints.setEndpointArray(c, newEndpoint);
                notifyPropertyChanged(ENDPOINT_PROPERTY, oldEndpoint, newEndpoint);
                break;
            }
        }
    }
View Full Code Here

            }
        }
    }

    public void removeEndpoint(String endpoint) {
        EndpointsConfig endpoints = getConfig().getEndpoints();

        for (int c = 0; c < endpoints.sizeOfEndpointArray(); c++) {
            if (endpoints.getEndpointArray(c).equals(endpoint)) {
                endpoints.removeEndpoint(c);
                notifyPropertyChanged(ENDPOINT_PROPERTY, endpoint, null);
                break;
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.config.EndpointsConfig

Copyright © 2018 www.massapicom. 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.