func (t *JarAnalyser) GetConfig() (transformertypes.Transformer, *environment.Environment) {
	return t.Config, t.Env
}
GetConfig returns the transformer config
package java
import (
	"io/ioutil"
	"os"
	"path/filepath"
	"github.com/konveyor/move2kube/common"
	"github.com/konveyor/move2kube/environment"
	irtypes "github.com/konveyor/move2kube/types/ir"
	transformertypes "github.com/konveyor/move2kube/types/transformer"
	"github.com/konveyor/move2kube/types/transformer/artifacts"
	"github.com/sirupsen/logrus"
)
type JarAnalyser struct {
	Config    transformertypes.Transformer
	Env       *environment.Environment
	JarConfig *JarYamlConfig
}
type JarYamlConfig struct {
	JavaVersion string `yaml:"defaultJavaVersion"`
}
type JarDockerfileTemplate struct {
	JavaVersion          string
	JavaPackageName      string
	DeploymentFile       string
	DeploymentFileDir    string
	Port                 string
	PortConfigureEnvName string
}
func (t *JarAnalyser) Init(tc transformertypes.Transformer, env *environment.Environment) (err error) {
	t.Config = tc
	t.Env = env
	t.JarConfig = &JarYamlConfig{}
	err = common.GetObjFromInterface(t.Config.Spec.Config, &t.JarConfig)
	if err != nil {
		logrus.Errorf("unable to load config for Transformer %+v into %T : %s", t.Config.Spec.Config, t.JarConfig, err)
		return err
	}
	return nil
}