Class AbstractAuthorizationContainerConverter<T extends AuthorizationContainer>

java.lang.Object
com.microsoft.jenkins.azuread.AbstractAuthorizationContainerConverter<T>
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
Direct Known Subclasses:
AbstractAuthorizationPropertyConverter, GlobalMatrixAuthorizationStrategy.ConverterImpl

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class AbstractAuthorizationContainerConverter<T extends AuthorizationContainer> extends Object implements com.thoughtworks.xstream.converters.Converter
  • Constructor Details

    • AbstractAuthorizationContainerConverter

      public AbstractAuthorizationContainerConverter()
  • Method Details

    • canConvert

      public abstract boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
    • create

      public abstract T create()
    • marshal

      public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
      Specified by:
      marshal in interface com.thoughtworks.xstream.converters.Converter
    • unmarshalContainer

      protected void unmarshalContainer(T container, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
    • unmarshal

      public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
      Specified by:
      unmarshal in interface com.thoughtworks.xstream.converters.Converter