Skip to main content

Java

Struct Java 

Source
pub struct Java;

Trait Implementations§

Source§

impl Language for Java

Source§

const NAME: &'static str = "java"

Source§

type Settings = Settings

Source§

type Workspace = ()

Source§

fn bundle_middleware( tree: &mut GeneratedTree, middleware: &[BundledMiddleware], ) -> Result<()>

Bundle SDK-author runtime middleware and register it in generated clients. Called with package-relative output after finalization and post plugins.
Source§

fn finalize(_cx: &mut FinalizeContext<'_, Self>) -> Result<(), Error>

Source§

fn finalize_files(_tree: &mut GeneratedTree) -> Result<(), Error>

Adapt assembled generated files for the target runtime after middleware bundling and before explicit author source overlays. Default is unchanged.
Source§

impl Plugin<Java> for OperationTests

Source§

fn kind(&self) -> &'static str

Source§

fn meta(&self) -> &Meta

Source§

fn requires(&self) -> Vec<Requirement>

Source§

fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>

Source§

fn phase(&self) -> PluginPhase

Selects the plugin lifecycle phase. The default honors Self::enforce so a post plugin only needs to override that shorthand.
Source§

fn enforce(&self) -> Enforce

Phase shorthand. Existing plugins remain generation plugins.
Source§

fn supports_native_input(&self) -> bool

Opt in when this plugin reads protocol contracts instead of the legacy HTTP context. Native generation skips packages containing HTTP-only plugins before loading sources.
Source§

fn provides(&self) -> Vec<Provision>

Source§

impl Plugin<Java> for OAuth

Source§

fn kind(&self) -> &'static str

Source§

fn meta(&self) -> &Meta

Source§

fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>

Source§

fn phase(&self) -> PluginPhase

Selects the plugin lifecycle phase. The default honors Self::enforce so a post plugin only needs to override that shorthand.
Source§

fn enforce(&self) -> Enforce

Phase shorthand. Existing plugins remain generation plugins.
Source§

fn supports_native_input(&self) -> bool

Opt in when this plugin reads protocol contracts instead of the legacy HTTP context. Native generation skips packages containing HTTP-only plugins before loading sources.
Source§

fn requires(&self) -> Vec<Requirement>

Source§

fn provides(&self) -> Vec<Provision>

Source§

impl Plugin<Java> for Webhooks

Source§

fn kind(&self) -> &'static str

Source§

fn meta(&self) -> &Meta

Source§

fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>

Source§

fn phase(&self) -> PluginPhase

Selects the plugin lifecycle phase. The default honors Self::enforce so a post plugin only needs to override that shorthand.
Source§

fn enforce(&self) -> Enforce

Phase shorthand. Existing plugins remain generation plugins.
Source§

fn supports_native_input(&self) -> bool

Opt in when this plugin reads protocol contracts instead of the legacy HTTP context. Native generation skips packages containing HTTP-only plugins before loading sources.
Source§

fn requires(&self) -> Vec<Requirement>

Source§

fn provides(&self) -> Vec<Provision>

Source§

impl Plugin<Java> for Sdk

Source§

fn kind(&self) -> &'static str

Source§

fn meta(&self) -> &Meta

Source§

fn provides(&self) -> Vec<Provision>

Source§

fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>

Source§

fn phase(&self) -> PluginPhase

Selects the plugin lifecycle phase. The default honors Self::enforce so a post plugin only needs to override that shorthand.
Source§

fn enforce(&self) -> Enforce

Phase shorthand. Existing plugins remain generation plugins.
Source§

fn supports_native_input(&self) -> bool

Opt in when this plugin reads protocol contracts instead of the legacy HTTP context. Native generation skips packages containing HTTP-only plugins before loading sources.
Source§

fn requires(&self) -> Vec<Requirement>

Auto Trait Implementations§

§

impl Freeze for Java

§

impl RefUnwindSafe for Java

§

impl Send for Java

§

impl Sync for Java

§

impl Unpin for Java

§

impl UnsafeUnpin for Java

§

impl UnwindSafe for Java

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.