com.jparams.object.builder.Context Maven / Gradle / Ivy
package com.jparams.object.builder;
import com.jparams.object.builder.issue.Issue;
import com.jparams.object.builder.issue.IssueLogger;
import com.jparams.object.builder.issue.IssueType;
import com.jparams.object.builder.path.Path;
import com.jparams.object.builder.type.Type;
public class Context
{
private final Path path;
private final ObjectFactory objectFactory;
private final IssueLogger issueLogger;
public Context(final Path path, final ObjectFactory objectFactory, final IssueLogger issueLogger)
{
this.path = path;
this.objectFactory = objectFactory;
this.issueLogger = issueLogger;
}
public Path getPath()
{
return path;
}
public Object createChild(final String name, final Type> type)
{
final Path childPath = new Path(name, type, this.path);
final Build
© 2015 - 2025 Weber Informatics LLC | Privacy Policy