Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCdsMojo - Class in com.sap.cds.maven.plugin
-
An abstract base class for all CDS-related Mojos (Maven Old Java Object)
- AbstractCdsMojo() - Constructor for class com.sap.cds.maven.plugin.AbstractCdsMojo
- addCdsCommand(Document, String) - Static method in class com.sap.cds.maven.plugin.util.PomUtils
-
Adds a CDS command line to the execution of the cds goal.
- addDependency(Document, String, String, String, String) - Static method in class com.sap.cds.maven.plugin.util.PomUtils
-
Adds a dependency to given pom.xml DOM if it doesn't exist yet.
- AddIntegrationTestMojo - Class in com.sap.cds.maven.plugin.add
-
Adds an integration test module to the CAP Java project.
- AddIntegrationTestMojo() - Constructor for class com.sap.cds.maven.plugin.add.AddIntegrationTestMojo
- addModule(Document, String) - Static method in class com.sap.cds.maven.plugin.util.PomUtils
-
Adds a module to given pom.xml DOM if it doesn't exist yet.
- AddMojo - Class in com.sap.cds.maven.plugin.add
-
Adds support of a feature to the CAP Java project.
- AddMojo() - Constructor for class com.sap.cds.maven.plugin.add.AddMojo
- AddMojo.FeatureKey - Enum Class in com.sap.cds.maven.plugin.add
-
An enumeration with the keys of all supported features to add.
- addPluginExecution(Document, String, String, String, String, String) - Static method in class com.sap.cds.maven.plugin.util.PomUtils
-
Adds a new execution block to the given plugin.
- AddSampleMojo - Class in com.sap.cds.maven.plugin.add
-
Add a custom handler, a unit test, and CDS sample files to the CAP Java project.
Callmvn cds:addSample
ormvn com.sap.cds:cds-maven-plugin:addSample
to add sample classes and CDS files.
Note: This goal can only be executed from the command line.
- AddSampleMojo() - Constructor for class com.sap.cds.maven.plugin.add.AddSampleMojo
- AddTargetPlatformMojo - Class in com.sap.cds.maven.plugin.add
-
Add a target platform dependency (
cds-starter-${targetPlatform}
) to the service module dependencies of the CAP Java project. - AddTargetPlatformMojo() - Constructor for class com.sap.cds.maven.plugin.add.AddTargetPlatformMojo
- AppYamlUtils - Class in com.sap.cds.maven.plugin.util
- archiveExtension - Variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains the Node.js archive extension.
- ArchiveUtils - Class in com.sap.cds.maven.plugin.util
-
This class extracts
*.zip
andtar.gz
archives to a given destination directory. - array(T...) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Creates an array with given arguments
- AutoBuildMojo - Class in com.sap.cds.maven.plugin.build
-
Performs an initial CDS build (same as
mvn cds:build
) and then watches for changes in the CDS model. - AutoBuildMojo() - Constructor for class com.sap.cds.maven.plugin.build.AutoBuildMojo
B
- buildContext - Variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
- BuildMojo - Class in com.sap.cds.maven.plugin.build
-
Perform a CDS build with Java class generation executing the following goals of the cds-maven-plugin in this order: cds:install-node cds:install-cdsdk cds:resolve cds:cds cds:generate The list of goals and their order is fixed.
- BuildMojo() - Constructor for class com.sap.cds.maven.plugin.build.BuildMojo
C
- CDS_SERVICES_GROUPID - Static variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
- CdsMojo - Class in com.sap.cds.maven.plugin.build
-
Execute CDS commands on the CAP Java project.
Callmvn cds:cds
ormvn com.sap.cds:cds-maven-plugin:cds
on the command line to execute all configured CDS commands of the project in current directory.
Several CDS commands can be configured in one execution block and they’re executed in the specified order. - CdsMojo() - Constructor for class com.sap.cds.maven.plugin.build.CdsMojo
- CdsMojoLogger - Interface in com.sap.cds.maven.plugin
-
This interface provides access to the logger used by all CDS Mojos.
- CdsrcUtils - Class in com.sap.cds.maven.plugin.util
- CdsrcUtils(File) - Constructor for class com.sap.cds.maven.plugin.util.CdsrcUtils
- CdsResolveMojo - Class in com.sap.cds.maven.plugin.build
-
Extracts models from dependency JARs and places them in
target/cds/
for reuse by the CDS Compiler. - CdsResolveMojo() - Constructor for class com.sap.cds.maven.plugin.build.CdsResolveMojo
- CleanMojo - Class in com.sap.cds.maven.plugin.build
-
Delete generated files and directories of the previous build from the CAP Java project.
Callmvn cds:clean
ormvn com.sap.cds:cds-maven-plugin:clean
to execute cleaning from the command line.
This goal deletes the following files and directories from the resource directory of the CAP Java project: file: src/main/resources/**/csn.json file: src/main/resources/**/schema.sql directory: src/main/resources/**/edmx/ directory: ${codeOutputDirectory} - CleanMojo() - Constructor for class com.sap.cds.maven.plugin.build.CleanMojo
- com.sap.cds.maven.plugin - package com.sap.cds.maven.plugin
- com.sap.cds.maven.plugin.add - package com.sap.cds.maven.plugin.add
- com.sap.cds.maven.plugin.build - package com.sap.cds.maven.plugin.build
- com.sap.cds.maven.plugin.util - package com.sap.cds.maven.plugin.util
- compareTo(Semver) - Method in class com.sap.cds.maven.plugin.util.Semver
-
Compares this
Semver
instance with another - createClassFromTemplate(File, String, String, String, boolean, TemplateService.TemplateVariable...) - Method in class com.sap.cds.maven.plugin.add.TemplateService
-
Creates a new Java class source file from a specified resource template.
- createDir(String) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Creates a directory including all parent directories.
- createFile(File) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Creates a file including all parent directories.
- createFileFromTemplate(String, File, boolean, TemplateService.TemplateVariable...) - Method in class com.sap.cds.maven.plugin.add.TemplateService
-
Creates a new file from a specified resource template.
- createRequest(List<String>, String...) - Method in class com.sap.cds.maven.plugin.build.AutoBuildMojo
- CURRENT - Static variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains the current
Platform
.
D
- decryptServer(String, MavenSession, SettingsDecrypter, CdsMojoLogger) - Static method in class com.sap.cds.maven.plugin.util.Utils
- DEFAULT_NODE_VERSION - Static variable in class com.sap.cds.maven.plugin.build.InstallNodeMojo
- DependencyFinder - Class in com.sap.cds.maven.plugin.util
- DirectoryWatcher - Class in com.sap.cds.maven.plugin.util
-
Watches a directory, including the sub-tree, for changes on files.
- DirectoryWatcher(Path, DirectoryWatcher.FileChangedListener, CdsMojoLogger, List<String>, List<String>) - Constructor for class com.sap.cds.maven.plugin.util.DirectoryWatcher
-
Constructs a new
DirectoryWatcher
instance. - DirectoryWatcher.FileChangedListener - Interface in com.sap.cds.maven.plugin.util
-
An interface used to listen on file changed events.
- download(String, File) - Method in class com.sap.cds.maven.plugin.util.Downloader
-
Performs a download from given URL.
- Downloader - Class in com.sap.cds.maven.plugin.util
-
Used to download the Node archive from a given download URL.
- Downloader(CdsMojoLogger) - Constructor for class com.sap.cds.maven.plugin.util.Downloader
-
Constructs a new
Downloader
instance. - Downloader(List<Proxy>, Server, CdsMojoLogger, int) - Constructor for class com.sap.cds.maven.plugin.util.Downloader
-
Constructs a new
Downloader
instance.
E
- enableBetterSqlite() - Method in class com.sap.cds.maven.plugin.util.CdsrcUtils
- endVisit(DependencyNode) - Method in class com.sap.cds.maven.plugin.util.DependencyFinder
- ensureCliExecuted() - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
Ensures that the goal is executed from command line.
- execute() - Method in class com.sap.cds.maven.plugin.add.AddIntegrationTestMojo
- execute() - Method in class com.sap.cds.maven.plugin.add.AddMojo
- execute() - Method in class com.sap.cds.maven.plugin.add.AddSampleMojo
- execute() - Method in class com.sap.cds.maven.plugin.add.AddTargetPlatformMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.BuildMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.CdsMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.CdsResolveMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.CleanMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.GenerateMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.InstallCdsdkMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.InstallNodeMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.NpmMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.NpxMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.VersionMojo
- execute() - Method in class com.sap.cds.maven.plugin.build.WatchMojo
- execute() - Method in class com.sap.cds.maven.plugin.HelpMojo
- execute(File, File, OutputStream, Map<String, String>, int[], String...) - Method in class com.sap.cds.maven.plugin.build.CdsMojo
-
Executes a program as child process.
- execute(OutputStream, OutputStream, CdsMojoLogger) - Method in class com.sap.cds.maven.plugin.util.ProcessExecutor
- executeAndGetResult(CdsMojoLogger) - Method in class com.sap.cds.maven.plugin.util.ProcessExecutor
-
Executes the process.
- executeBuild() - Method in class com.sap.cds.maven.plugin.build.BuildMojo
- executeCds(File, String, OutputStream, Map<String, String>) - Method in class com.sap.cds.maven.plugin.build.CdsMojo
-
Executes a cds command with given arguments in given working directory.
- executeCdsVersion() - Method in class com.sap.cds.maven.plugin.build.CdsMojo
-
Executes command
cds version
and returns console output. - executeCdsVersion() - Method in class com.sap.cds.maven.plugin.build.VersionMojo
- executeGoal(Plugin, String) - Method in class com.sap.cds.maven.plugin.build.BuildMojo
- executeMaven(InvocationRequest) - Method in class com.sap.cds.maven.plugin.build.AutoBuildMojo
- executeMojo(Plugin, String, PluginExecution) - Method in class com.sap.cds.maven.plugin.build.AutoBuildMojo
- executeNpm(File, int[], String...) - Method in class com.sap.cds.maven.plugin.build.InstallCdsdkMojo
- executeNpm(File, File, String...) - Method in class com.sap.cds.maven.plugin.build.InstallCdsdkMojo
- executeNpm(File, String...) - Method in class com.sap.cds.maven.plugin.build.InstallCdsdkMojo
- extract(File, File) - Static method in class com.sap.cds.maven.plugin.util.ArchiveUtils
-
Extracts an archive to a destination directory
F
- findBoundaries(String, int) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
-
Finds the boundaries of a document (spring profile) within an application.yaml.
- findCdsWorkingDir() - Method in class com.sap.cds.maven.plugin.build.CdsMojo
-
Finds the cds working directory by going upwards and looking for a .cdsrc.json file.
- findDirectory(String, Collection<File>) - Static method in class com.sap.cds.maven.plugin.util.Utils
- findExecutable(String, CdsMojoLogger) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Finds the location of given executable on local file-system.
- findFile(String, Collection<File>) - Static method in class com.sap.cds.maven.plugin.util.Utils
- findGoalExecution(Plugin, String) - Static method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- findProfile(String, String) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
-
Returns the content and the position of a profile in an application.yaml.
- findSrvProject() - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
G
- GenerateMojo - Class in com.sap.cds.maven.plugin.build
-
Generates Java POJOs for type-safe access to the CDS model.
This goal scans the resource directory for a csn.json file and uses it for Java source code generation. - GenerateMojo() - Constructor for class com.sap.cds.maven.plugin.build.GenerateMojo
- getArtifact(String, String) - Method in class com.sap.cds.maven.plugin.util.DependencyFinder
- getDownloadPath(String) - Method in enum class com.sap.cds.maven.plugin.util.Platform
-
Calculates the relative Node.js download path.
- getIntegrationTestTemplates() - Method in class com.sap.cds.maven.plugin.add.AddIntegrationTestMojo
- getMojoDescriptor(Plugin, String) - Method in class com.sap.cds.maven.plugin.build.AutoBuildMojo
- getNodePath(String) - Method in enum class com.sap.cds.maven.plugin.util.Platform
- getNpmPath(String) - Method in enum class com.sap.cds.maven.plugin.util.Platform
- getNpxPath(String) - Method in enum class com.sap.cds.maven.plugin.util.Platform
- getPackageDir(File, String) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Returns the directory for a given Java package.
- getReactorBaseDirectory() - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- getResourceDirs(MavenProject) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Returns a stream with all resource directories of a given Maven project.
- getTestResourceDirs(MavenProject) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Returns a stream with all test resource directories of a given Maven project.
- getWorkingDirectory() - Method in class com.sap.cds.maven.plugin.build.CdsMojo
H
- H2 - Enum constant in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Key for H2 support.
- HelpMojo - Class in com.sap.cds.maven.plugin
-
Display help information on cds-maven-plugin.
Callmvn cds:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class com.sap.cds.maven.plugin.HelpMojo
I
- InstallCdsdkMojo - Class in com.sap.cds.maven.plugin.build
-
Install the @sap/cds-dk into a CAP Java project.
By default, this goal looks for an already installed @sap/cds-dk and skips installation if it was found. - InstallCdsdkMojo() - Constructor for class com.sap.cds.maven.plugin.build.InstallCdsdkMojo
- InstallNodeMojo - Class in com.sap.cds.maven.plugin.build
-
Download a Node.js distribution and install it on the local file system.
If the requested version is already installed, the download and installation is skipped.
This goal also considers proxy configurations in the~/.m2/settings.xml
. - InstallNodeMojo() - Constructor for class com.sap.cds.maven.plugin.build.InstallNodeMojo
- isCliExecuted() - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
Indicates whether this goal is executed from command line or not.
- isWindows() - Method in enum class com.sap.cds.maven.plugin.util.Platform
J
- join() - Method in class com.sap.cds.maven.plugin.util.DirectoryWatcher
-
Joins the watch thread and blocks until it's finished or interrupted.
L
- LINUX - Enum constant in enum class com.sap.cds.maven.plugin.util.Platform
-
Running on a Linux operating system
- LIQUIBASE - Enum constant in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Key for Liquibase support.
- logDebug(String, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logDebug(String, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a debug message to log.
- logDebug(Throwable) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logDebug(Throwable) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a debug message to log.
- logError(String, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logError(String, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes an error message to log.
- logError(String, Throwable, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logError(String, Throwable, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes an error message to log.
- logError(Throwable) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logError(Throwable) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes an error message to log.
- logInfo(String, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logInfo(String, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a debug message to log.
- logWarn(String, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logWarn(String, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a warning message to log.
- logWarn(String, Throwable, Object...) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logWarn(String, Throwable, Object...) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a warning message to log.
- logWarn(Throwable) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- logWarn(Throwable) - Method in interface com.sap.cds.maven.plugin.CdsMojoLogger
-
Writes a warning message to log.
M
- MAC - Enum constant in enum class com.sap.cds.maven.plugin.util.Platform
-
Running on Mac OS (Darwin)
- mergeProfiles(String, String, String[]) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
-
Merges an existing profile with a new profile.
- mojoExecution - Variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
The current
MojoExecution
. - MTX - Enum constant in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Key for Multitenancy support.
N
- node - Variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains name of node executable, either "node" or "node.exe".
- NodeCacheResolver - Class in com.sap.cds.maven.plugin.build
-
A Node.js archive cache resolver using the local Maven repository as storage.
- NodeCacheResolver(RepositorySystemSession) - Constructor for class com.sap.cds.maven.plugin.build.NodeCacheResolver
-
Constructs a new
NodeCacheResolver
instance. - nodeClassifier - Variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains the Node.js classifier: "linux-x64", "darwin-x64", "linux-arm64", "darwin-arm64" or "win-x64"
- npm - Variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains name of npm executable, either "npm" or "npm.cmd".
- NpmMojo - Class in com.sap.cds.maven.plugin.build
-
Execute an
npm
command on the CAP Java project. - NpmMojo() - Constructor for class com.sap.cds.maven.plugin.build.NpmMojo
- npx - Variable in enum class com.sap.cds.maven.plugin.util.Platform
-
Contains name of npx executable, either "npx" or "npx.cmd".
- NpxMojo - Class in com.sap.cds.maven.plugin.build
-
Execute an
npx
command on the CAP Java project. - NpxMojo() - Constructor for class com.sap.cds.maven.plugin.build.NpxMojo
O
- of(String, String) - Static method in class com.sap.cds.maven.plugin.add.TemplateService.TemplateVariable
- onChanged(boolean) - Method in interface com.sap.cds.maven.plugin.util.DirectoryWatcher.FileChangedListener
-
Is called if any file in the project is changed.
P
- PARAM_NODE_DIR - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- PARAM_NPM_EXECUTABLE - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- PARAM_NPX_EXECUTABLE - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- parse(File) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Parses a given xml file into a
Document
. - parseCdsdkVersionOutput(String) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Parses the given
cds version
console output and returns aMap
filled with cds component name as key and version information as value. - parseYamlProperties(String) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
-
Parses the given profile into flattened
properties
. - Platform - Enum Class in com.sap.cds.maven.plugin.util
-
This enum contains all supported platforms.
- PLUGIN_KEY - Static variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
The key of this plugin.
- PomUtils - Class in com.sap.cds.maven.plugin.util
-
A utility class to manipulate pom.xml files.
- POSTGRESQL - Enum constant in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Key for PostgreSQL support.
- prepareDestination(File, boolean) - Static method in class com.sap.cds.maven.plugin.util.Utils
- ProcessExecutor - Class in com.sap.cds.maven.plugin.util
-
A class to execute subprocesses with a given command line in a specified working directory.
- ProcessExecutor(File, CommandLine) - Constructor for class com.sap.cds.maven.plugin.util.ProcessExecutor
-
Constructs new
ProcessExecutor
instance. - ProcessExecutor(File, CommandLine, Map<String, String>, List<String>) - Constructor for class com.sap.cds.maven.plugin.util.ProcessExecutor
-
Constructs new
ProcessExecutor
instance. - project - Variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
The current Maven project on which this goal is executed.
- PROP_NODE_DIR - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- PROP_NODE_EXECUTABLE - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- PROP_NPM_EXECUTABLE - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
- PROP_NPX_EXECUTABLE - Static variable in class com.sap.cds.maven.plugin.build.CdsMojo
R
- removePluginExecution(Document, String, String, String) - Static method in class com.sap.cds.maven.plugin.util.PomUtils
-
Removes a execution block to the given plugin.
- replaceProfile(String, int[], String) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
- repositorySystemSession - Variable in class com.sap.cds.maven.plugin.add.AddIntegrationTestMojo
-
Defines settings and components that control the repository system.
- repositorySystemSession - Variable in class com.sap.cds.maven.plugin.build.CdsMojo
-
Defines settings and components that control the repository system.
- resolve(String) - Method in class com.sap.cds.maven.plugin.build.NodeCacheResolver
-
Returns a Node file handle according the given version.
- resolveUnpacked(String) - Method in class com.sap.cds.maven.plugin.build.NodeCacheResolver
-
Returns a Node file handle according the given version.
- runIfLockable(File, Runnable, int) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Runs the given
Runnable
if a lock could be acquired on given file.
S
- save() - Method in class com.sap.cds.maven.plugin.util.CdsrcUtils
- scanDependencyGraph(MavenProject, DependencyGraphBuilder, RepositorySystemSession, BiPredicate<String, String>) - Static method in class com.sap.cds.maven.plugin.util.DependencyFinder
- scanDirectory(File, String[], String[]) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
Scans the given directory for files satisfying the given glob pattern.
- Semver - Class in com.sap.cds.maven.plugin.util
-
This class represents a semantic version information.
- Semver(String) - Constructor for class com.sap.cds.maven.plugin.util.Semver
-
Constructs a new
Semver
instance with given version string. - session - Variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
The current Maven execution session.
- setExecutionFlag(File) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Sets execution flag at given file.
- setExitValues(int[]) - Method in class com.sap.cds.maven.plugin.util.ProcessExecutor
- setIfNotNull(Consumer<T>, T) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Calls a given setter with given value, if value isn't
null
. - setNpxExec(File) - Method in class com.sap.cds.maven.plugin.build.CdsMojo
-
Gets called to inject parameter "npxExec".
- setNpxExec(File) - Method in class com.sap.cds.maven.plugin.build.NpxMojo
-
Gets called to inject parameter "npxExec".
- setProperty(String, File) - Method in class com.sap.cds.maven.plugin.AbstractCdsMojo
- settings - Variable in class com.sap.cds.maven.plugin.AbstractCdsMojo
-
The global Maven settings, stored in
~/.m2/settings.xml
. - setWorkingDirectory(File) - Method in class com.sap.cds.maven.plugin.build.NpxMojo
-
Gets called to inject parameter "workingDirectory".
- splitByWhitespaces(String) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Splits the given string into tokens by using whitespace as delimiters.
- SQLITE - Enum constant in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Key for Sqlite support.
- start() - Method in class com.sap.cds.maven.plugin.util.DirectoryWatcher
-
Starts asynchronously watching for changes on the file system.
- stop() - Method in class com.sap.cds.maven.plugin.util.DirectoryWatcher
-
Stops watching for changes on file system.
- store(File, Document) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Serializes a given
Document
into a file. - store(OutputStream, Document) - Static method in class com.sap.cds.maven.plugin.util.Utils
-
Serializes a given
Document
into an output stream. - strong(Object) - Static method in class com.sap.cds.maven.plugin.AbstractCdsMojo
T
- TemplateService - Class in com.sap.cds.maven.plugin.add
-
This service creates files and Java classes from templates.
- TemplateService() - Constructor for class com.sap.cds.maven.plugin.add.TemplateService
- TemplateService.TemplateVariable - Class in com.sap.cds.maven.plugin.add
-
Holds key and value of a template variable.
- toString() - Method in class com.sap.cds.maven.plugin.util.Semver
U
- Utils - Class in com.sap.cds.maven.plugin.util
-
A helper class providing utility methods.
V
- valueOf(String) - Static method in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.sap.cds.maven.plugin.util.Platform
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.sap.cds.maven.plugin.add.AddMojo.FeatureKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.sap.cds.maven.plugin.util.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VersionMojo - Class in com.sap.cds.maven.plugin.build
-
Prints detailed version information about the CAP Java project on the console.
Callcds:version
ormvn com.sap.cds:cds-maven-plugin:version
to get detailed version information.
This goal shows the following version information about the CAP Java project and build environment: version of CAP Java SDK including CDS4J console output of command linecds version
version and location of Apache Maven version and location of Java runtime OS information - VersionMojo() - Constructor for class com.sap.cds.maven.plugin.build.VersionMojo
- visit(DependencyNode) - Method in class com.sap.cds.maven.plugin.util.DependencyFinder
W
- WatchMojo - Class in com.sap.cds.maven.plugin.build
-
Starts a CAP Java application and watches for changes in the CDS model.
- WatchMojo() - Constructor for class com.sap.cds.maven.plugin.build.WatchMojo
- WatchMojo(boolean) - Constructor for class com.sap.cds.maven.plugin.build.WatchMojo
- WINDOWS - Enum constant in enum class com.sap.cds.maven.plugin.util.Platform
-
Running on a Windows operating system
- writeDeep(Map<String, Object>, String[], Object) - Static method in class com.sap.cds.maven.plugin.util.AppYamlUtils
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form