pub struct Java;Trait Implementations§
Source§impl Language for Java
impl Language for Java
const NAME: &'static str = "java"
type Settings = Settings
type Workspace = ()
Source§fn bundle_middleware(
tree: &mut GeneratedTree,
middleware: &[BundledMiddleware],
) -> Result<()>
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.
fn finalize(_cx: &mut FinalizeContext<'_, Self>) -> Result<(), Error>
Source§fn finalize_files(_tree: &mut GeneratedTree) -> Result<(), Error>
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
impl Plugin<Java> for OperationTests
fn kind(&self) -> &'static str
fn meta(&self) -> &Meta
fn requires(&self) -> Vec<Requirement>
fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>
Source§fn phase(&self) -> PluginPhase
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 supports_native_input(&self) -> bool
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.
fn provides(&self) -> Vec<Provision>
Source§impl Plugin<Java> for OAuth
impl Plugin<Java> for OAuth
fn kind(&self) -> &'static str
fn meta(&self) -> &Meta
fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>
Source§fn phase(&self) -> PluginPhase
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 supports_native_input(&self) -> bool
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.
fn requires(&self) -> Vec<Requirement>
fn provides(&self) -> Vec<Provision>
Source§impl Plugin<Java> for Webhooks
impl Plugin<Java> for Webhooks
fn kind(&self) -> &'static str
fn meta(&self) -> &Meta
fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>
Source§fn phase(&self) -> PluginPhase
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 supports_native_input(&self) -> bool
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.
fn requires(&self) -> Vec<Requirement>
fn provides(&self) -> Vec<Provision>
Source§impl Plugin<Java> for Sdk
impl Plugin<Java> for Sdk
fn kind(&self) -> &'static str
fn meta(&self) -> &Meta
fn provides(&self) -> Vec<Provision>
fn generate(&self, cx: &mut PluginContext<'_, Java>) -> Result<()>
Source§fn phase(&self) -> PluginPhase
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 supports_native_input(&self) -> bool
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.
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> 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