Package org.jenkinsci.plugins.matrixauth
Class AbstractAuthorizationContainerConverter<T extends AuthorizationContainer>
java.lang.Object
org.jenkinsci.plugins.matrixauth.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
canConvert
(Class type) abstract T
create()
void
marshal
(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) unmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) protected void
unmarshalContainer
(T container, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
Constructor Details
-
AbstractAuthorizationContainerConverter
public AbstractAuthorizationContainerConverter()
-
-
Method Details
-
canConvert
- Specified by:
canConvert
in interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
create
-
marshal
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) - Specified by:
marshal
in interfacecom.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 interfacecom.thoughtworks.xstream.converters.Converter
-