org.talend.sdk.component.intellij.Configuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of talend-component-kit-intellij-plugin Show documentation
Show all versions of talend-component-kit-intellij-plugin Show documentation
Provides Talend Component Kit Integration with Intellij Idea.
/**
* Copyright (C) 2006-2024 Talend Inc. - www.talend.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.talend.sdk.component.intellij;
import static java.util.ResourceBundle.getBundle;
import static lombok.AccessLevel.PRIVATE;
import java.util.ResourceBundle;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@NoArgsConstructor(access = PRIVATE)
public final class Configuration {
private static ResourceBundle bundle;
public static String getMessage(final String key) {
if (bundle == null) {
bundle = getBundle("messages");
}
return bundle.getString(key);
}
public static String getStarterHost() {
return System.getProperty("org.talend.component.starter.host", "https://starter-toolkit.talend.io");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy