A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractArtifactDSL - Class in com.github.lookout.serviceartifact.lang
Provide a base class for
AbstractArtifactExtension - Class in com.github.lookout.serviceartifact
Base abstract class for defining extensions inside of the service {} DSL
AbstractComponent - Class in com.github.lookout.serviceartifact
A Component is a declaration of a part of a service.
AbstractScmHandler - Class in com.github.lookout.serviceartifact.scm
afterEvaluateHook() - Method in ServiceArtifactExtension
Internal hook to be called after the project has completed its evaluation phase
annotatedVersion(String) - Method in AbstractScmHandler
Return an annotated version string with data provided by the handler
annotatedVersion(String) - Method in GerritHandler
Return a String based on the environment variables provided with Gerrit changeset information
annotatedVersion(String) - Method in GitHandler
return an annotated version with the CI and Git metadata added
apply(Object, Closure) - Method in AbstractArtifactExtension
apply(Project, Object, String) - Method in AbstractComponent
apply(Project, Object, String) - Method in JRubyComponent
apply(Object, Closure) - Method in Scala
apply(Project) - Method in ServiceArtifactPlugin

B

bootstrap() - Method in ServiceArtifactExtension
Bootstrap and set up whatever internal tasks/helpers we need to set up
build(Project, Map<String, String>) - Method in AbstractScmHandler
Build an instance of this handler
build(Project, Map<String, String>) - Method in GerritHandler
build(Project, Map<String, String>) - Method in GitHandler

C

component(Map, String, Closure) - Method in ServiceArtifactExtension
Configure a component of the given type
computeArtifactTaskName(String) - Method in JRubyComponent
createCompressedTasks(String) - Method in AbstractComponent
createJRubyJarTask(Project, String) - Method in JRubyComponent

D

Data - Class in com.github.lookout.serviceartifact.metadata
Container class for encapsulating some of the DSL configuration behavior behind the service { data { } } closure
Data(Project) - Constructor in Data
data - Field in ServiceArtifactExtension
Data container object for implementing the data {} DSL
defaultJarEnabled(boolean) - Method in ServiceArtifactExtension
set whether the plugin should disable the default jar task provided by underlying plugins (e.g.
defaultJarTaskEnabled - Field in ServiceArtifactExtension
Disable the built-in jar tasks by default
dependencies(Object) - Method in Data
Add the list of arguments as dependencies
dependencies(Object) - Method in ServiceArtifactExtension
set the service's service dependencies
disableJarTask() - Method in AbstractArtifactExtension

E

env - Field in AbstractScmHandler
Supplied environment variables
env - Field in ServiceArtifactExtension
extension - Field in AbstractComponent

F

fileTree(Map) - Method in Data
Helper method to make the DSL more succinct.
findGitRoot(File) - Method in GitHandler
Locate a directory, starting with our current working directory, which has a .git/ subdirectory

G

GerritHandler - Class in com.github.lookout.serviceartifact.scm
GerritHandler(Project, Map<String, String>) - Constructor in GerritHandler
getBuildNumberFromCI() - Method in GitHandler
Return the build number present in the environment as defined by the CI system.
getDefaultJarEnabled() - Method in ServiceArtifactExtension
getDependencies() - Method in ServiceArtifactExtension
access the configured service dependencies
getEnvironment() - Method in AbstractScmHandler
getGit() - Method in GitHandler
Return an Grgit object for internal use
getGitDirFor(String) - Method in GitHandler
getName() - Method in ServiceArtifactExtension
access the configured service name
getProject() - Method in ServiceArtifactExtension
return the configured project for this service{} extension
getProjectDir() - Method in Data
getRevision() - Method in AbstractScmHandler
Return the current revision of the tree
getRevision() - Method in GerritHandler
Return the value of GERRIT_PATCHSET_REVISION if present
getRevision() - Method in GitHandler
GitHandler - Class in com.github.lookout.serviceartifact.scm
Git handler for a project in a traditional Git repository
GitHandler(Project, Map<String, String>) - Constructor in GitHandler

H

I

include(Object) - Method in JRubyComponent
Include files of any format inside of the artifact
InvalidServiceExtensionError - Class in com.github.lookout.serviceartifact
Thrown when an invalid service extension is registered
isAvailable() - Method in AbstractScmHandler
Return true if the runtime environment has the necessary information to make this SCM Handler available for use
isAvailable() - Method in GerritHandler
Will indicate that this handler is available if we're executing in an environment where a number of GERRIT_* environment variables are present.
isAvailable() - Method in GitHandler

J

JRubyComponent - Class in com.github.lookout.serviceartifact.component
THe JRubyComponent provides all the necessary tasks and configuration to create an appropriate JRuby-based service artifact

K

L

logger - Field in AbstractComponent
logger - Field in AbstractScmHandler
logger - Field in Data
logger - Field in Metadata
logger - Field in ServiceArtifactExtension

M

mainClass(String) - Method in Scala
mainScript(String) - Method in JRubyComponent
Set the Ruby script which will act as an entry point for the artifact
mapper - Field in Metadata
Metadata - Class in com.github.lookout.serviceartifact
Representation class for the metadata structure
Metadata.Component - Class in com.github.lookout.serviceartifact
Metadata.Service - Class in com.github.lookout.serviceartifact
metadata - Field in AbstractComponent
Metadata(String, String, String) - Constructor in Metadata
migrations(Object) - Method in Data
migrations() DSL method for adding the migrations either as a list of String objects, or as a FileTree into the migrations list

N

name - Field in AbstractComponent
name(String) - Method in ServiceArtifactExtension
set the service name

O

P

project - Field in AbstractArtifactDSL
project - Field in AbstractComponent
project - Field in AbstractScmHandler
project - Field in Data
project - Field in Scala
project - Field in ServiceArtifactExtension

Q

R

removeDefaultShadowTask(Project) - Method in Scala

S

Scala - Class in com.github.lookout.serviceartifact.lang
Scala(Project) - Constructor in Scala
ServiceArtifactExtension - Class in com.github.lookout.serviceartifact
ServiceArtifactExtension provides the service{} DSL into Gradle files which use the plugin
ServiceArtifactExtension(Project, Map<String, String>) - Constructor in ServiceArtifactExtension
ServiceArtifactPlugin - Class in com.github.lookout.serviceartifact
serviceDependencies - Field in ServiceArtifactExtension
List of services that this service depends on
serviceName - Field in ServiceArtifactExtension
Name of the service of which our artifact is a part
setupCompressedArchives(Object) - Method in AbstractArtifactExtension
Properly update the compressed archive tasks with the appropriate configurations after a serviceJar task has been set up

T

toString() - Method in Data
toString() - Method in Metadata.Component
toYaml() - Method in Metadata
@return This instance as a YAML String

U

V

validateMetadata() - Method in ServiceArtifactExtension
Validate the existing metadata to ensure non-optional fields are set before we attempt to do anything with the metadata
version(String) - Method in ServiceArtifactExtension
Return the appropriately computed version string based on our executing environment

W

X

Y

Z

_

_scmHandler - Field in ServiceArtifactExtension
SCM Handler appropriate for this execution
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _