Class ModelFactory
- java.lang.Object
-
- com.sumologic.jenkins.jenkinssumologicplugin.model.ModelFactory
-
public class ModelFactory extends Object
Created by deven on 7/11/15.Factory class providing static methods to convert builds to a convenient DTO as an intermediate step to json serialization.
-
-
Constructor Summary
Constructors Constructor Description ModelFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildModel
createBuildModel(Run build, PluginDescriptorImpl pluginDescriptor)
static JenkinsModel
createJenkinsModel(Jenkins jenkins)
-
-
-
Method Detail
-
createJenkinsModel
public static JenkinsModel createJenkinsModel(Jenkins jenkins)
-
createBuildModel
public static BuildModel createBuildModel(Run build, PluginDescriptorImpl pluginDescriptor)
-
-