pub struct Arguments { /* private fields */ }
Expand description
Represents the command-line arguments for the Java program.
Implementations§
Source§impl Arguments
impl Arguments
Sourcepub fn entry_point(&self) -> &String
pub fn entry_point(&self) -> &String
The entry point for the Java program.
This may be empty when running in install or purge mode.
Sourcepub fn program_args(&self) -> &Vec<String>
pub fn program_args(&self) -> &Vec<String>
The arguments passed to the Java program.
Sourcepub fn java_standard_options(&self) -> &Vec<String>
pub fn java_standard_options(&self) -> &Vec<String>
The standard Java options (e.g., -version
, -help
).
Sourcepub fn java_launcher_options(&self) -> &Vec<String>
pub fn java_launcher_options(&self) -> &Vec<String>
The options passed to the Java launcher (e.g., --dry-run
).
Sourcepub fn system_properties(&self) -> &IndexMap<String, String>
pub fn system_properties(&self) -> &IndexMap<String, String>
System properties set for the Java program (e.g., -Dproperty=value
).
Sourcepub fn jvm_options(&self) -> &Vec<String>
pub fn jvm_options(&self) -> &Vec<String>
JVM options (e.g., -Xmx1024m
).
Sourcepub fn advanced_jvm_options(&self) -> &Vec<String>
pub fn advanced_jvm_options(&self) -> &Vec<String>
Advanced JVM options (e.g., -XX:+UseG1GC
).
Trait Implementations§
impl StructuralPartialEq for Arguments
Auto Trait Implementations§
impl Freeze for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnwindSafe for Arguments
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more