![JAR search and dependency download from the Maven repository](/logo.png)
com.icfolson.aem.groovy.console.components.Header.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-groovy-console Show documentation
Show all versions of aem-groovy-console Show documentation
The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be
created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the AEM, Sling,
or JCR APIs.
package com.icfolson.aem.groovy.console.components
import com.icfolson.aem.groovy.console.configuration.ConfigurationService
import org.apache.sling.api.resource.Resource
import org.apache.sling.models.annotations.Model
import javax.inject.Inject
@Model(adaptables = Resource)
class Header {
@Inject
private ConfigurationService configurationService
String getHref() {
configurationService.consoleHref
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy