Class ManualConditionConverter

java.lang.Object
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
com.thoughtworks.xstream.converters.reflection.ReflectionConverter
hudson.plugins.promoted_builds.integrations.jobdsl.ManualConditionConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.core.Caching

public class ManualConditionConverter extends com.thoughtworks.xstream.converters.reflection.ReflectionConverter
XStream Converter for the ManualCondition for the Job DSL Plugin
Author:
Dennis Schulte
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException
  • Field Summary

    Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManualConditionConverter(com.thoughtworks.xstream.mapper.Mapper mapper, com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
     

    Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshallField, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshal, unmarshallField

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ManualConditionConverter

      public ManualConditionConverter(com.thoughtworks.xstream.mapper.Mapper mapper, com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
  • Method Details

    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
      Overrides:
      canConvert in class com.thoughtworks.xstream.converters.reflection.ReflectionConverter
    • 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
      Overrides:
      marshal in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter