/** * Important: Use this method always to obtain the configuration. Do not invoke this inside a constructor since the * returned {@link Configuration} instance would not be the project scoped one. * * @return The project scoped {@link Configuration} instance */ private Configuration getProjectConfiguration() { if (this.configuration == null) { this.configuration = configurationFactory.getProjectConfig(project); } return this.configuration; } }
/** * Important: Use this method always to obtain the configuration. Do not invoke this inside a constructor since the * returned {@link Configuration} instance would not be the project scoped one. * * @return The project scoped {@link Configuration} instance */ private Configuration getProjectConfiguration() { if (this.configuration == null) { this.configuration = configurationFactory.getProjectConfig(project); } return this.configuration; } }
/** * Important: Use this method always to obtain the configuration. Do not invoke this inside a constructor since the * returned {@link Configuration} instance would not be the project scoped one. * * @return The project scoped {@link Configuration} instance */ private Configuration getProjectConfiguration() { if (this.configuration == null) { this.configuration = configurationFactory.getProjectConfig(project); } return this.configuration; } }
@Override public boolean install() { if (projectConfiguration == null) { projectConfiguration = factory.getProjectConfig(getProject()); } return true; }