com.enonic.xp.app.Application Maven / Gradle / Ivy
package com.enonic.xp.app;
import java.net.URL;
import java.time.Instant;
import java.util.Set;
import org.osgi.framework.Bundle;
import org.osgi.framework.Version;
import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.config.Configuration;
@PublicApi
public interface Application
{
ApplicationKey getKey();
Version getVersion();
String getDisplayName();
String getSystemVersion();
String getMaxSystemVersion();
String getMinSystemVersion();
boolean includesSystemVersion( Version version );
String getUrl();
String getVendorName();
String getVendorUrl();
Bundle getBundle();
ClassLoader getClassLoader();
Instant getModifiedTime();
Set getCapabilities();
boolean isStarted();
@Deprecated
Set getFiles();
@Deprecated
URL resolveFile( String path );
Configuration getConfig();
boolean isSystem();
}