public final class JrpcgenOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
JrpcgenOptions.Arguments |
static class |
JrpcgenOptions.ParseResult |
| Modifier and Type | Field and Description |
|---|---|
String |
baseClassname
Name of class containing global constants.
|
boolean |
clampProgAndVers
Clamp version and program number in client method stubs to the
version and program number specified in the x-file.
|
String |
clientClass
Name of class containing the ONC/RPC client stubs.
|
boolean |
debug
Enable diagnostic messages when parsing the x-file.
|
File |
destinationDir
Destination directory where to place the generated files.
|
boolean |
initStrings
Enable automatic initialization of String with empty Strings
instead of null reference.
|
boolean |
makeBean
Enable generation of accessors in order to use XDR classes as beans.
|
boolean |
makeSerializable
Enable tagging of XDR classes as being Serializable
|
boolean |
noBackups
Disable automatic backup of old source code files, if
true. |
boolean |
noClient
Do not generate source code for the client proxy stub if
true. |
boolean |
noEnum
inhibit generation of Java enumertions.
|
boolean |
noEquals
inhibit generation of equals() methods.
|
boolean |
noServer
Do not generate source code for the server proxy stub if
true. |
boolean |
noToString
inhibit generation of toString() methods.
|
boolean |
noValueCtor
inhibit generation of value constructor that is expecting all members.
|
boolean |
noXdr
Do not generate XDR datatype classes if
true. |
String |
packageName
Specifies package name for generated source code, if not
null. |
boolean |
parseOnly
Parse x-file only but do not create source code files if set to
true. |
String |
serverClass
Name of class containing the ONC/RPC server stubs.
|
boolean |
serverTcpOnly
Create TCP-Server only
true. |
boolean |
serverUdpOnly
Create TCP-Server only
true. |
String |
startDate
String containing date/time when a jrpcgen run was started.
|
boolean |
verbose
Verbosity flag.
|
boolean |
withCallInfo
Supply (additional) call information to server method stubs.
|
| Constructor and Description |
|---|
JrpcgenOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generateClientStub() |
boolean |
generateEqualsMethod() |
boolean |
generateJavaFiles() |
boolean |
generateProgramConstants() |
boolean |
generateServerStub() |
boolean |
generateTcpTransport() |
boolean |
generateToStringMethod() |
boolean |
generateUdpTransport() |
boolean |
generateValueConstructor() |
boolean |
generateXdrTypes() |
boolean |
javaEnumerationsEnabled() |
JrpcgenOptions.Arguments |
newArguments(String[] arguments) |
static void |
printOptions(PrintStream out) |
JrpcgenOptions |
reset() |
String |
toString() |
public String startDate
public boolean noBackups
true.public boolean clampProgAndVers
public boolean withCallInfo
public boolean debug
public boolean verbose
true, then jrpcgen will report about
the steps it is taking when generating all the source code files.public boolean parseOnly
true.public File destinationDir
public String packageName
null. If null, then no package statement
is emitted.public String baseClassname
public boolean noClient
true.public boolean noServer
true.public String serverClass
public boolean noXdr
true.public boolean serverTcpOnly
true.public boolean serverUdpOnly
true.public String clientClass
public boolean makeSerializable
public boolean makeBean
public boolean initStrings
public boolean noToString
public boolean noEquals
public boolean noEnum
public boolean noValueCtor
public boolean javaEnumerationsEnabled()
public boolean generateToStringMethod()
public boolean generateEqualsMethod()
public boolean generateValueConstructor()
public boolean generateJavaFiles()
public boolean generateClientStub()
public boolean generateServerStub()
public boolean generateProgramConstants()
public boolean generateXdrTypes()
public boolean generateTcpTransport()
public boolean generateUdpTransport()
public static void printOptions(PrintStream out)
public JrpcgenOptions.Arguments newArguments(String[] arguments)
public JrpcgenOptions reset()
Copyright © 2025. All rights reserved.