org.netbeans.modules.j2ee.deployment.profiler.api
Class ProfilerServerSettings

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.profiler.api.ProfilerServerSettings

public final class ProfilerServerSettings
extends Object

Settings that will be used for profiled server startup.


Constructor Summary
ProfilerServerSettings(org.netbeans.api.java.platform.JavaPlatform javaPlatform, String[] jvmArgs, String[] env)
          Creates new ProfilerServerSettings.
 
Method Summary
 boolean equals(Object o)
          Tests this ProfilerServerSettings for equality with the given object.
 String[] getEnv()
          Gets extra variables that will be set for profiled server environment.
 org.netbeans.api.java.platform.JavaPlatform getJavaPlatform()
          Gets the Java platform that will be used for starting the profiled server.
 String[] getJvmArgs()
          Gets the extra arguments that will be used for starting the profiled server.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfilerServerSettings

public ProfilerServerSettings(org.netbeans.api.java.platform.JavaPlatform javaPlatform,
                              String[] jvmArgs,
                              String[] env)
Creates new ProfilerServerSettings.

Parameters:
javaPlatform - Java platform used to run profiled server.
jvmArgs - array of extra JVM arguments used for starting profiled server.
env - array of name=value pairs of extra variables to be set for profiled server environment.
Method Detail

getJavaPlatform

public org.netbeans.api.java.platform.JavaPlatform getJavaPlatform()
Gets the Java platform that will be used for starting the profiled server.

Returns:
Java platform that will be used for starting the profiled server.

getJvmArgs

public String[] getJvmArgs()
Gets the extra arguments that will be used for starting the profiled server.

Returns:
array of extra arguments that will be used for starting the profiled server

getEnv

public String[] getEnv()
Gets extra variables that will be set for profiled server environment.

Returns:
array of name=value pairs describing extra variables that will be set for profiled server environment

equals

public boolean equals(Object o)
Tests this ProfilerServerSettings for equality with the given object.

Overrides:
equals in class Object
Parameters:
o - The object to be compared with this ProfilerServerSettings.
Returns:
true if the other ProfilerServerSettings instance defines the same settings; false otherwise.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.