pub struct ParsedArguments { /* private fields */ }
Expand description
Represents the parsed command-line arguments for the Java program.
Implementations§
Source§impl ParsedArguments
impl ParsedArguments
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., --install
, --purge
).
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§
Source§impl Debug for ParsedArguments
impl Debug for ParsedArguments
Source§impl PartialEq for ParsedArguments
impl PartialEq for ParsedArguments
impl StructuralPartialEq for ParsedArguments
Auto Trait Implementations§
impl Freeze for ParsedArguments
impl RefUnwindSafe for ParsedArguments
impl Send for ParsedArguments
impl Sync for ParsedArguments
impl Unpin for ParsedArguments
impl UnwindSafe for ParsedArguments
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