@atomist/rug
Advanced tools
Comparing version 1.0.0-m.6 to 1.0.0-m.7
@@ -21,6 +21,5 @@ /* | ||
import { File } from "./File"; | ||
export { ArtifactContainer }; | ||
/* | ||
/** | ||
* ArtifactContainer | ||
@@ -31,33 +30,32 @@ */ | ||
/** | ||
* Does a directory with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
* Does a directory with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
directoryExists(path: string): boolean; | ||
/** | ||
* Does a file with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
* Does a file with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
fileExists(path: string): boolean; | ||
/** | ||
* Find file with the given path. Return null if not found. | ||
* | ||
* @param path {string} Path of the file we want | ||
* @returns {File} | ||
*/ | ||
* Find file with the given path. Return null if not found. | ||
* | ||
* @param path {string} Path of the file we want | ||
* @returns {File} | ||
*/ | ||
findFile(path: string): File; | ||
/** | ||
* The total number of files in this project or directory | ||
* | ||
* @property {number} totalFileCount | ||
*/ | ||
* The total number of files in this project or directory | ||
* | ||
* @property {number} totalFileCount | ||
*/ | ||
readonly totalFileCount: number; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
import { File } from "./File"; | ||
export { ArtifactContainerView }; | ||
/* | ||
/** | ||
* ArtifactContainerView | ||
@@ -30,33 +29,32 @@ */ | ||
/** | ||
* Does a directory with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
* Does a directory with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
directoryExists(path: string): boolean; | ||
/** | ||
* Does a file with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
* Does a file with the given path exist? | ||
* | ||
* @param path {string} The path to use | ||
* @returns {boolean} | ||
*/ | ||
fileExists(path: string): boolean; | ||
/** | ||
* Find file with the given path. Return null if not found. | ||
* | ||
* @param path {string} Path of the file we want | ||
* @returns {File} | ||
*/ | ||
* Find file with the given path. Return null if not found. | ||
* | ||
* @param path {string} Path of the file we want | ||
* @returns {File} | ||
*/ | ||
findFile(path: string): File; | ||
/** | ||
* The total number of files in this project or directory | ||
* | ||
* @property {number} totalFileCount | ||
*/ | ||
* The total number of files in this project or directory | ||
* | ||
* @property {number} totalFileCount | ||
*/ | ||
readonly totalFileCount: number; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
import { ViewSupport } from "./ViewSupport"; | ||
export { BodyDeclarationView }; | ||
/* | ||
/** | ||
* BodyDeclarationView | ||
@@ -30,47 +29,46 @@ */ | ||
/** | ||
* Annotate the element with the given annotation | ||
* | ||
* @param pkg {string} Package where the annotation is sourced | ||
* @param annotation {string} The annotation to add | ||
*/ | ||
* Annotate the element with the given annotation | ||
* | ||
* @param pkg {string} Package where the annotation is sourced | ||
* @param annotation {string} The annotation to add | ||
*/ | ||
addAnnotation(pkg: string, annotation: string): void; | ||
/** | ||
* Add an import to the containing Java source | ||
* | ||
* @param fqn {string} The fully qualified name of the import | ||
*/ | ||
* Add an import to the containing Java source | ||
* | ||
* @param fqn {string} The fully qualified name of the import | ||
*/ | ||
addImport(fqn: string): void; | ||
/** | ||
* Does the element have the given annotation? | ||
* | ||
* @param annotation {string} The string name of the annotation to look for | ||
* @returns {boolean} | ||
*/ | ||
* Does the element have the given annotation? | ||
* | ||
* @param annotation {string} The string name of the annotation to look for | ||
* @returns {boolean} | ||
*/ | ||
hasAnnotation(annotation: string): boolean; | ||
/** | ||
* Line count | ||
* | ||
* @property {number} lineCount | ||
*/ | ||
* Line count | ||
* | ||
* @property {number} lineCount | ||
*/ | ||
readonly lineCount: number; | ||
/** | ||
* Remove annotation from the element | ||
* | ||
* @param pkg {string} Package where the annotation is sourced | ||
* @param annotation {string} The annotation to remove | ||
*/ | ||
* Remove annotation from the element | ||
* | ||
* @param pkg {string} Package where the annotation is sourced | ||
* @param annotation {string} The annotation to remove | ||
*/ | ||
removeAnnotation(pkg: string, annotation: string): void; | ||
/** | ||
* Remove an import from the containing Java source | ||
* | ||
* @param fqn {string} The fully qualified name of the import | ||
*/ | ||
* Remove an import from the containing Java source | ||
* | ||
* @param fqn {string} The fully qualified name of the import | ||
*/ | ||
removeImport(fqn: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { BuildViewMutatingFunctions }; | ||
/* | ||
/** | ||
* BuildViewMutatingFunctions | ||
@@ -30,94 +29,93 @@ */ | ||
/** | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
addOrReplaceDependency(groupId: string, artifactId: string): void; | ||
/** | ||
* Add or replace a dependency, providing version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
* Add or replace a dependency, providing version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
addOrReplaceDependencyOfVersion(groupId: string, artifactId: string, newVersion: string): void; | ||
/** | ||
* Add or replace a dependency's version | ||
* | ||
* @param groupId {string} The value of dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
* Add or replace a dependency's version | ||
* | ||
* @param groupId {string} The value of dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
addOrReplaceDependencyVersion(groupId: string, artifactId: string, newVersion: string): void; | ||
/** | ||
* Add or replace a property | ||
* | ||
* @param propertyName {string} The name of the property being set | ||
* @param propertyValue {string} The value of the property being set | ||
*/ | ||
* Add or replace a property | ||
* | ||
* @param propertyName {string} The name of the property being set | ||
* @param propertyValue {string} The value of the property being set | ||
*/ | ||
addOrReplaceProperty(propertyName: string, propertyValue: string): void; | ||
/** | ||
* Removes a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Removes a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
removeDependency(groupId: string, artifactId: string): void; | ||
/** | ||
* Remove a dependency's version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Remove a dependency's version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
removeDependencyVersion(groupId: string, artifactId: string): void; | ||
/** | ||
* Remove a property | ||
* | ||
* @param propertyName {string} The name of the project property being deleted | ||
*/ | ||
* Remove a property | ||
* | ||
* @param propertyName {string} The name of the project property being deleted | ||
*/ | ||
removeProperty(propertyName: string): void; | ||
/** | ||
* Set the content of the artifactId element | ||
* | ||
* @param newArtifactId {string} The artifactId that you are trying to set | ||
*/ | ||
* Set the content of the artifactId element | ||
* | ||
* @param newArtifactId {string} The artifactId that you are trying to set | ||
*/ | ||
setArtifactId(newArtifactId: string): void; | ||
/** | ||
* Set the content of the description element | ||
* | ||
* @param newDescription {string} The description that you are trying to set | ||
*/ | ||
* Set the content of the description element | ||
* | ||
* @param newDescription {string} The description that you are trying to set | ||
*/ | ||
setDescription(newDescription: string): void; | ||
/** | ||
* Set the content of the groupId element | ||
* | ||
* @param newGroupId {string} The groupId that you are trying to set | ||
*/ | ||
* Set the content of the groupId element | ||
* | ||
* @param newGroupId {string} The groupId that you are trying to set | ||
*/ | ||
setGroupId(newGroupId: string): void; | ||
/** | ||
* Add or replace project name | ||
* | ||
* @param newName {string} The name being set | ||
*/ | ||
* Add or replace project name | ||
* | ||
* @param newName {string} The name being set | ||
*/ | ||
setProjectName(newName: string): void; | ||
/** | ||
* Set the content of the version element | ||
* | ||
* @param newVersion {string} The version that you are trying to set | ||
*/ | ||
* Set the content of the version element | ||
* | ||
* @param newVersion {string} The version that you are trying to set | ||
*/ | ||
setVersion(newVersion: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { BuildViewNonMutatingFunctions }; | ||
/* | ||
/** | ||
* BuildViewNonMutatingFunctions | ||
@@ -30,72 +29,71 @@ */ | ||
/** | ||
* Return the content of the artifactId element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the artifactId element | ||
* | ||
* @returns {string} | ||
*/ | ||
artifactId(): string; | ||
/** | ||
* Return the value of a dependency's scope as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a dependency's scope as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
dependencyScope(groupId: string, artifactId: string): string; | ||
/** | ||
* Return the value of a dependency's version as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a dependency's version as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
dependencyVersion(groupId: string, artifactId: string): string; | ||
/** | ||
* Return the content of the description element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the description element | ||
* | ||
* @returns {string} | ||
*/ | ||
description(): string; | ||
/** | ||
* Return the content of the groupId element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the groupId element | ||
* | ||
* @returns {string} | ||
*/ | ||
groupId(): string; | ||
/** | ||
* Return whether a dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
isDependencyPresent(groupId: string, artifactId: string): boolean; | ||
/** | ||
* Return the content of the name element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the name element | ||
* | ||
* @returns {string} | ||
*/ | ||
name(): string; | ||
/** | ||
* Return the value of a project property | ||
* | ||
* @param projectPropertyName {string} The project property you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a project property | ||
* | ||
* @param projectPropertyName {string} The project property you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
property(projectPropertyName: string): string; | ||
/** | ||
* Return the content of the version element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the version element | ||
* | ||
* @returns {string} | ||
*/ | ||
version(): string; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { ChangeLogging }; | ||
/* | ||
/** | ||
* ChangeLogging | ||
@@ -30,9 +29,8 @@ */ | ||
/** | ||
* Describe a change we made to this object | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Describe a change we made to this object | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
describeChange(arg0: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { CSharpFile }; | ||
/* | ||
/** | ||
* C# file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Directory }; | ||
/* | ||
/** | ||
* Type for a directory within a project. | ||
@@ -32,23 +31,22 @@ */ | ||
/** | ||
* Return the number of files directly in this directory | ||
* | ||
* @returns {number} | ||
*/ | ||
* Return the number of files directly in this directory | ||
* | ||
* @returns {number} | ||
*/ | ||
fileCount(): number; | ||
/** | ||
* Return the name of the directory | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the name of the directory | ||
* | ||
* @returns {string} | ||
*/ | ||
name(): string; | ||
/** | ||
* Return the path of the directory | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the path of the directory | ||
* | ||
* @returns {string} | ||
*/ | ||
path(): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { DockerFile }; | ||
/* | ||
/** | ||
* Docker file type | ||
@@ -31,123 +30,122 @@ */ | ||
/** | ||
* Add ADD directive | ||
* | ||
* @param addContents {string} The contents of the ADD directive | ||
*/ | ||
* Add ADD directive | ||
* | ||
* @param addContents {string} The contents of the ADD directive | ||
*/ | ||
addAdd(addContents: string): void; | ||
/** | ||
* Add COPY directive | ||
* | ||
* @param copyContents {string} The contents of the COPY directive | ||
*/ | ||
* Add COPY directive | ||
* | ||
* @param copyContents {string} The contents of the COPY directive | ||
*/ | ||
addCopy(copyContents: string): void; | ||
/** | ||
* Add Env directive | ||
* | ||
* @param envContents {string} The contents of the Env directive | ||
*/ | ||
* Add Env directive | ||
* | ||
* @param envContents {string} The contents of the Env directive | ||
*/ | ||
addEnv(envContents: string): void; | ||
/** | ||
* Add EXPOSE directive | ||
* | ||
* @param exposeContents {string} The contents of the EXPOSE directive | ||
*/ | ||
* Add EXPOSE directive | ||
* | ||
* @param exposeContents {string} The contents of the EXPOSE directive | ||
*/ | ||
addExpose(exposeContents: string): void; | ||
/** | ||
* Add LABEL directive | ||
* | ||
* @param labelContents {string} The contents of the LABEL directive | ||
*/ | ||
* Add LABEL directive | ||
* | ||
* @param labelContents {string} The contents of the LABEL directive | ||
*/ | ||
addLabel(labelContents: string): void; | ||
/** | ||
* Add MAINTAINER directive | ||
* | ||
* @param maintainerName {string} The name of the MAINTAINER directive | ||
* @param maintainerEmail {string} The email of the MAINTAINER directive | ||
*/ | ||
* Add MAINTAINER directive | ||
* | ||
* @param maintainerName {string} The name of the MAINTAINER directive | ||
* @param maintainerEmail {string} The email of the MAINTAINER directive | ||
*/ | ||
addMaintainer(maintainerName: string, maintainerEmail: string): void; | ||
/** | ||
* Add or update CMD directive | ||
* | ||
* @param cmdContents {string} The contents of the CMD directive | ||
*/ | ||
* Add or update CMD directive | ||
* | ||
* @param cmdContents {string} The contents of the CMD directive | ||
*/ | ||
addOrUpdateCmd(cmdContents: string): void; | ||
/** | ||
* Add or update ENTRYPOINT directive | ||
* | ||
* @param entrypointContent {string} The contents of the ENTRYPOINT directive | ||
*/ | ||
* Add or update ENTRYPOINT directive | ||
* | ||
* @param entrypointContent {string} The contents of the ENTRYPOINT directive | ||
*/ | ||
addOrUpdateEntryPoint(entrypointContent: string): void; | ||
/** | ||
* Add or update EXPOSE directive | ||
* | ||
* @param exposeContents {string} The contents of the EXPOSE directive | ||
*/ | ||
* Add or update EXPOSE directive | ||
* | ||
* @param exposeContents {string} The contents of the EXPOSE directive | ||
*/ | ||
addOrUpdateExpose(exposeContents: string): void; | ||
/** | ||
* Add or update FROM directive | ||
* | ||
* @param fromContents {string} The contents of the FROM directive | ||
*/ | ||
* Add or update FROM directive | ||
* | ||
* @param fromContents {string} The contents of the FROM directive | ||
*/ | ||
addOrUpdateFrom(fromContents: string): void; | ||
/** | ||
* Add or update HEALTHCHECK directive | ||
* | ||
* @param healthcheckContent {string} The contents of the HEALTHCHECK directive | ||
*/ | ||
* Add or update HEALTHCHECK directive | ||
* | ||
* @param healthcheckContent {string} The contents of the HEALTHCHECK directive | ||
*/ | ||
addOrUpdateHealthcheck(healthcheckContent: string): void; | ||
/** | ||
* Add or update LABEL directive | ||
* | ||
* @param labelContents {string} The contents of the LABEL directive | ||
*/ | ||
* Add or update LABEL directive | ||
* | ||
* @param labelContents {string} The contents of the LABEL directive | ||
*/ | ||
addOrUpdateLabel(labelContents: string): void; | ||
/** | ||
* Add or update MAINTAINER directive | ||
* | ||
* @param maintainerName {string} The name of the MAINTAINER directive | ||
* @param maintainerEmail {string} The email of the MAINTAINER directive | ||
*/ | ||
* Add or update MAINTAINER directive | ||
* | ||
* @param maintainerName {string} The name of the MAINTAINER directive | ||
* @param maintainerEmail {string} The email of the MAINTAINER directive | ||
*/ | ||
addOrUpdateMaintainer(maintainerName: string, maintainerEmail: string): void; | ||
/** | ||
* Add or update WORKDIR directive | ||
* | ||
* @param workdirContents {string} The contents of the WORKDIR directive | ||
*/ | ||
* Add or update WORKDIR directive | ||
* | ||
* @param workdirContents {string} The contents of the WORKDIR directive | ||
*/ | ||
addOrUpdateWorkdir(workdirContents: string): void; | ||
/** | ||
* Add RUN directive | ||
* | ||
* @param runContents {string} The contents of the RUN directive | ||
*/ | ||
* Add RUN directive | ||
* | ||
* @param runContents {string} The contents of the RUN directive | ||
*/ | ||
addRun(runContents: string): void; | ||
/** | ||
* Add VOLUME directive | ||
* | ||
* @param volumeContents {string} The contents of the VOLUME directive | ||
*/ | ||
* Add VOLUME directive | ||
* | ||
* @param volumeContents {string} The contents of the VOLUME directive | ||
*/ | ||
addVolume(volumeContents: string): void; | ||
/** | ||
* | ||
* | ||
* @returns {any[]} | ||
*/ | ||
* | ||
* | ||
* @returns {any[]} | ||
*/ | ||
getExposedPorts(): any[]; | ||
} | ||
} |
@@ -25,6 +25,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { EveryPom }; | ||
/* | ||
/** | ||
* POM XML file | ||
@@ -34,3 +33,2 @@ */ | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { File }; | ||
/* | ||
/** | ||
* Type for a file within a project. | ||
@@ -31,121 +30,120 @@ */ | ||
/** | ||
* Append the given content to the file | ||
* | ||
* @param literal {string} The string to append | ||
*/ | ||
* Append the given content to the file | ||
* | ||
* @param literal {string} The string to append | ||
*/ | ||
append(literal: string): void; | ||
/** | ||
* Does the file content contain the given string? | ||
* | ||
* @param what {string} The string to use when looking for it in the file | ||
* @returns {boolean} | ||
*/ | ||
* Does the file content contain the given string? | ||
* | ||
* @param what {string} The string to use when looking for it in the file | ||
* @returns {boolean} | ||
*/ | ||
contains(what: string): boolean; | ||
/** | ||
* Does the file content contain a match for the given regex | ||
* | ||
* @param regexp {string} The regular expression to look for in the file's content | ||
* @returns {boolean} | ||
*/ | ||
* Does the file content contain a match for the given regex | ||
* | ||
* @param regexp {string} The regular expression to look for in the file's content | ||
* @returns {boolean} | ||
*/ | ||
containsMatch(regexp: string): boolean; | ||
/** | ||
* Return all matches for the given regexp in this file | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @returns {string[]} | ||
*/ | ||
* Return all matches for the given regexp in this file | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @returns {string[]} | ||
*/ | ||
findMatches(regexp: string): string[]; | ||
/** | ||
* Return the first match for the given regex, or the empty string if not found. Call containsMatch first to check presence. | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @returns {string} | ||
*/ | ||
* Return the first match for the given regex, or the empty string if not found. Call containsMatch first to check presence. | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @returns {string} | ||
*/ | ||
firstMatch(regexp: string): string; | ||
/** | ||
* DEPRECATED - Is this a Java file? | ||
* | ||
* @property {boolean} isJava | ||
*/ | ||
* DEPRECATED - Is this a Java file? | ||
* | ||
* @property {boolean} isJava | ||
*/ | ||
readonly isJava: boolean; | ||
/** | ||
* DEPRECATED - Is this a Scala file? | ||
* | ||
* @property {boolean} isScala | ||
*/ | ||
* DEPRECATED - Is this a Scala file? | ||
* | ||
* @property {boolean} isScala | ||
*/ | ||
readonly isScala: boolean; | ||
/** | ||
* If the file already contains the specified text, does nothing. Otherwise appends it to the file | ||
* | ||
* @param content {string} The content that the file will contain | ||
*/ | ||
* If the file already contains the specified text, does nothing. Otherwise appends it to the file | ||
* | ||
* @param content {string} The content that the file will contain | ||
*/ | ||
mustContain(content: string): void; | ||
/** | ||
* Name of the file, excluding path | ||
* | ||
* @property {string} name | ||
*/ | ||
* Name of the file, excluding path | ||
* | ||
* @property {string} name | ||
*/ | ||
readonly name: string; | ||
/** | ||
* DEPRECATED - Does the file name (not path) contain the given string? | ||
* | ||
* @param what {string} The string to use when looking for it in the file name or path | ||
* @returns {boolean} | ||
*/ | ||
* DEPRECATED - Does the file name (not path) contain the given string? | ||
* | ||
* @param what {string} The string to use when looking for it in the file name or path | ||
* @returns {boolean} | ||
*/ | ||
nameContains(what: string): boolean; | ||
/** | ||
* Prepend the given content to the file | ||
* | ||
* @param literal {string} The string to prepend to the file | ||
*/ | ||
* Prepend the given content to the file | ||
* | ||
* @param literal {string} The string to prepend to the file | ||
*/ | ||
prepend(literal: string): void; | ||
/** | ||
* Replace all occurrences of the given regexp in this file | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @param replaceWith {string} The string to replace matching expressions with | ||
*/ | ||
* Replace all occurrences of the given regexp in this file | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @param replaceWith {string} The string to replace matching expressions with | ||
*/ | ||
regexpReplace(regexp: string, replaceWith: string): void; | ||
/** | ||
* Replace all instances of the given literal string in this file | ||
* | ||
* @param literal {string} The string to search for | ||
* @param replaceWith {string} The string to replace the matches with | ||
*/ | ||
* Replace all instances of the given literal string in this file | ||
* | ||
* @param literal {string} The string to search for | ||
* @param replaceWith {string} The string to replace the matches with | ||
*/ | ||
replace(literal: string, replaceWith: string): void; | ||
/** | ||
* Set entire file content to new string | ||
* | ||
* @param newContent {string} The content to set the file to | ||
*/ | ||
* Set entire file content to new string | ||
* | ||
* @param newContent {string} The content to set the file to | ||
*/ | ||
setContent(newContent: string): void; | ||
/** | ||
* Set the file name, not path, to the given value | ||
* | ||
* @param name {string} The name to set the file to | ||
*/ | ||
* Set the file name, not path, to the given value | ||
* | ||
* @param name {string} The name to set the file to | ||
*/ | ||
setName(name: string): void; | ||
/** | ||
* Change the path to the given value. Path should use forward slashes to denote directories | ||
* | ||
* @param newPath {string} The path to change the file to | ||
*/ | ||
* Change the path to the given value. Path should use forward slashes to denote directories | ||
* | ||
* @param newPath {string} The path to change the file to | ||
*/ | ||
setPath(newPath: string): void; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { File } from "./File"; | ||
export { FileAddition }; | ||
/* | ||
/** | ||
* File addition | ||
@@ -31,9 +30,8 @@ */ | ||
/** | ||
* File | ||
* | ||
* @property {File} file | ||
*/ | ||
* File | ||
* | ||
* @property {File} file | ||
*/ | ||
readonly file: File; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { Project } from "./Project"; | ||
export { FileArtifactBacked }; | ||
/* | ||
/** | ||
* FileArtifactBacked | ||
@@ -31,72 +30,71 @@ */ | ||
/** | ||
* Return content length | ||
* | ||
* @property {string} content | ||
*/ | ||
* Return content length | ||
* | ||
* @property {string} content | ||
*/ | ||
readonly content: string; | ||
/** | ||
* Return file size | ||
* | ||
* @property {number} contentLength | ||
*/ | ||
* Return file size | ||
* | ||
* @property {number} contentLength | ||
*/ | ||
readonly contentLength: number; | ||
/** | ||
* Return file name, excluding path | ||
* | ||
* @property {string} filename | ||
*/ | ||
* Return file name, excluding path | ||
* | ||
* @property {string} filename | ||
*/ | ||
readonly filename: string; | ||
/** | ||
* DEPRECATED - Is this file well-formed? | ||
* | ||
* @property {boolean} isWellFormed | ||
*/ | ||
* DEPRECATED - Is this file well-formed? | ||
* | ||
* @property {boolean} isWellFormed | ||
*/ | ||
readonly isWellFormed: boolean; | ||
/** | ||
* Return the number of lines in the file | ||
* | ||
* @property {number} lineCount | ||
*/ | ||
* Return the number of lines in the file | ||
* | ||
* @property {number} lineCount | ||
*/ | ||
readonly lineCount: number; | ||
/** | ||
* Make the file executable | ||
* | ||
*/ | ||
* Make the file executable | ||
* | ||
*/ | ||
makeExecutable(): void; | ||
/** | ||
* Return file path, with forward slashes | ||
* | ||
* @property {string} path | ||
*/ | ||
* Return file path, with forward slashes | ||
* | ||
* @property {string} path | ||
*/ | ||
readonly path: string; | ||
/** | ||
* Return the file's permissions | ||
* | ||
* @property {number} permissions | ||
*/ | ||
* Return the file's permissions | ||
* | ||
* @property {number} permissions | ||
*/ | ||
readonly permissions: number; | ||
/** | ||
* Containing project | ||
* | ||
* @property {Project} project | ||
*/ | ||
* Containing project | ||
* | ||
* @property {Project} project | ||
*/ | ||
readonly project: Project; | ||
/** | ||
* Does this path begin with the given pattern? Pattern should contain slashes but not begin with a / | ||
* | ||
* @param root {string} The root path to begin searching from | ||
* @returns {boolean} | ||
*/ | ||
* Does this path begin with the given pattern? Pattern should contain slashes but not begin with a / | ||
* | ||
* @param root {string} The root path to begin searching from | ||
* @returns {boolean} | ||
*/ | ||
underPath(root: string): boolean; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { FileImpact }; | ||
/* | ||
/** | ||
* FileImpact | ||
@@ -30,37 +29,36 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeTags(): string[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Parent | ||
* | ||
* @property {TreeNode} parent | ||
*/ | ||
* Parent | ||
* | ||
* @property {TreeNode} parent | ||
*/ | ||
readonly parent: TreeNode; | ||
/** | ||
* Path to the file | ||
* | ||
* @property {string} path | ||
*/ | ||
* Path to the file | ||
* | ||
* @property {string} path | ||
*/ | ||
readonly path: string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { File } from "./File"; | ||
export { FileUpdate }; | ||
/* | ||
/** | ||
* File update | ||
@@ -31,16 +30,15 @@ */ | ||
/** | ||
* File | ||
* | ||
* @property {File} now | ||
*/ | ||
* File | ||
* | ||
* @property {File} now | ||
*/ | ||
readonly now: File; | ||
/** | ||
* File | ||
* | ||
* @property {File} old | ||
*/ | ||
* File | ||
* | ||
* @property {File} old | ||
*/ | ||
readonly old: File; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { Project } from "./Project"; | ||
export { Impact }; | ||
/* | ||
/** | ||
* Represents an impact of a change | ||
@@ -31,58 +30,57 @@ */ | ||
/** | ||
* Project after impact | ||
* | ||
* @property {Project} after | ||
*/ | ||
* Project after impact | ||
* | ||
* @property {Project} after | ||
*/ | ||
readonly after: Project; | ||
/** | ||
* Project before impact | ||
* | ||
* @property {Project} before | ||
*/ | ||
* Project before impact | ||
* | ||
* @property {Project} before | ||
*/ | ||
readonly before: Project; | ||
/** | ||
* Virtual project composed of files changed in this commit | ||
* | ||
* @property {Project} changed | ||
*/ | ||
* Virtual project composed of files changed in this commit | ||
* | ||
* @property {Project} changed | ||
*/ | ||
readonly changed: Project; | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* File impacts in this commit | ||
* | ||
* @property {FileImpact[]} files | ||
*/ | ||
* File impacts in this commit | ||
* | ||
* @property {FileImpact[]} files | ||
*/ | ||
readonly files: FileImpact[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeTags(): string[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Parent of the impact | ||
* | ||
* @property {TreeNode} parent | ||
*/ | ||
* Parent of the impact | ||
* | ||
* @property {TreeNode} parent | ||
*/ | ||
readonly parent: TreeNode; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { JavaSource } from "./JavaSource"; | ||
export { JavaClassOrInterface }; | ||
/* | ||
/** | ||
* Java class or interface | ||
@@ -32,31 +31,30 @@ */ | ||
/** | ||
* Does this type extend the given type? | ||
* | ||
* @param simpleName {string} Simple name of the ancestor class we're looking for | ||
* @returns {boolean} | ||
*/ | ||
* Does this type extend the given type? | ||
* | ||
* @param simpleName {string} Simple name of the ancestor class we're looking for | ||
* @returns {boolean} | ||
*/ | ||
inheritsFrom(simpleName: string): boolean; | ||
/** | ||
* Is this type abstract? | ||
* | ||
* @property {boolean} isAbstract | ||
*/ | ||
* Is this type abstract? | ||
* | ||
* @property {boolean} isAbstract | ||
*/ | ||
readonly isAbstract: boolean; | ||
/** | ||
* Is this an interface? | ||
* | ||
* @property {boolean} isInterface | ||
*/ | ||
* Is this an interface? | ||
* | ||
* @property {boolean} isInterface | ||
*/ | ||
readonly isInterface: boolean; | ||
/** | ||
* Is this an interface? | ||
* | ||
* @property {JavaSource} sourceFile | ||
*/ | ||
* Is this an interface? | ||
* | ||
* @property {JavaSource} sourceFile | ||
*/ | ||
readonly sourceFile: JavaSource; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { JavaConstructor }; | ||
/* | ||
/** | ||
* Java constructor | ||
@@ -31,23 +30,22 @@ */ | ||
/** | ||
* Return the Javadoc for the constructor, or an empty string if there isn't any | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the Javadoc for the constructor, or an empty string if there isn't any | ||
* | ||
* @returns {string} | ||
*/ | ||
javadoc(): string; | ||
/** | ||
* Return the name of the constructor | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the name of the constructor | ||
* | ||
* @returns {string} | ||
*/ | ||
name(): string; | ||
/** | ||
* Return the number of constructor parameters | ||
* | ||
* @returns {number} | ||
*/ | ||
* Return the number of constructor parameters | ||
* | ||
* @returns {number} | ||
*/ | ||
parametersSize(): number; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { JavaClassOrInterface } from "./JavaClassOrInterface"; | ||
export { JavaField }; | ||
/* | ||
/** | ||
* Java field | ||
@@ -32,16 +31,15 @@ */ | ||
/** | ||
* Return the name of the field | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the name of the field | ||
* | ||
* @returns {string} | ||
*/ | ||
name(): string; | ||
/** | ||
* Type this is on | ||
* | ||
* @property {JavaClassOrInterface} type | ||
*/ | ||
* Type this is on | ||
* | ||
* @property {JavaClassOrInterface} type | ||
*/ | ||
readonly type: JavaClassOrInterface; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { JavaFile }; | ||
/* | ||
/** | ||
* Java file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { JavaMethod }; | ||
/* | ||
/** | ||
* Java method | ||
@@ -31,16 +30,15 @@ */ | ||
/** | ||
* Return the Javadoc for the method, or an empty string if there isn't any | ||
* | ||
* @property {string} javadoc | ||
*/ | ||
* Return the Javadoc for the method, or an empty string if there isn't any | ||
* | ||
* @property {string} javadoc | ||
*/ | ||
readonly javadoc: string; | ||
/** | ||
* Return the name of the method | ||
* | ||
* @property {string} name | ||
*/ | ||
* Return the name of the method | ||
* | ||
* @property {string} name | ||
*/ | ||
readonly name: string; | ||
} | ||
} |
@@ -24,6 +24,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { JavaProject }; | ||
/* | ||
/** | ||
* Java project | ||
@@ -34,45 +33,44 @@ */ | ||
/** | ||
* Is this a Maven project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
* Is this a Maven project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
isMaven(): boolean; | ||
/** | ||
* Is this a Spring project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
* Is this a Spring project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
isSpring(): boolean; | ||
/** | ||
* Is this a Spring Boot project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
* Is this a Spring Boot project? | ||
* | ||
* @returns {boolean} | ||
*/ | ||
isSpringBoot(): boolean; | ||
/** | ||
* Return the number of Java files in this module | ||
* | ||
* @returns {number} | ||
*/ | ||
* Return the number of Java files in this module | ||
* | ||
* @returns {number} | ||
*/ | ||
javaFileCount(): number; | ||
/** | ||
* List the packages in this project | ||
* | ||
* @returns {any[]} | ||
*/ | ||
* List the packages in this project | ||
* | ||
* @returns {any[]} | ||
*/ | ||
packages(): any[]; | ||
/** | ||
* Rename the given package. All package under it will also be renamed | ||
* | ||
* @param oldPackage {string} Old package name | ||
* @param newPackage {string} The new package name | ||
*/ | ||
* Rename the given package. All package under it will also be renamed | ||
* | ||
* @param oldPackage {string} Old package name | ||
* @param newPackage {string} The new package name | ||
*/ | ||
renamePackage(oldPackage: string, newPackage: string): void; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { JavaProject } from "./JavaProject"; | ||
export { JavaSource }; | ||
/* | ||
/** | ||
* Java source file | ||
@@ -32,30 +31,29 @@ */ | ||
/** | ||
* Return the Java project | ||
* | ||
* @returns {JavaProject} | ||
*/ | ||
* Return the Java project | ||
* | ||
* @returns {JavaProject} | ||
*/ | ||
javaProject(): JavaProject; | ||
/** | ||
* Move the source file to the given package | ||
* | ||
* @param newPackage {string} The package to move the source file to | ||
*/ | ||
* Move the source file to the given package | ||
* | ||
* @param newPackage {string} The package to move the source file to | ||
*/ | ||
movePackage(newPackage: string): void; | ||
/** | ||
* Return the package name | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the package name | ||
* | ||
* @returns {string} | ||
*/ | ||
pkg(): string; | ||
/** | ||
* Count the types in this source file | ||
* | ||
* @returns {number} | ||
*/ | ||
* Count the types in this source file | ||
* | ||
* @returns {number} | ||
*/ | ||
typeCount(): number; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { JavaSource } from "./JavaSource"; | ||
export { JavaType }; | ||
/* | ||
/** | ||
* Java class | ||
@@ -32,31 +31,30 @@ */ | ||
/** | ||
* Does this type extend the given type? | ||
* | ||
* @param simpleName {string} Simple name of the ancestor class we're looking for | ||
* @returns {boolean} | ||
*/ | ||
* Does this type extend the given type? | ||
* | ||
* @param simpleName {string} Simple name of the ancestor class we're looking for | ||
* @returns {boolean} | ||
*/ | ||
inheritsFrom(simpleName: string): boolean; | ||
/** | ||
* Is this type abstract? | ||
* | ||
* @property {boolean} isAbstract | ||
*/ | ||
* Is this type abstract? | ||
* | ||
* @property {boolean} isAbstract | ||
*/ | ||
readonly isAbstract: boolean; | ||
/** | ||
* Is this an interface? | ||
* | ||
* @property {boolean} isInterface | ||
*/ | ||
* Is this an interface? | ||
* | ||
* @property {boolean} isInterface | ||
*/ | ||
readonly isInterface: boolean; | ||
/** | ||
* Is this an interface? | ||
* | ||
* @property {JavaSource} sourceFile | ||
*/ | ||
* Is this an interface? | ||
* | ||
* @property {JavaSource} sourceFile | ||
*/ | ||
readonly sourceFile: JavaSource; | ||
} | ||
} |
@@ -22,6 +22,5 @@ /* | ||
import { File } from "./File"; | ||
export { Line }; | ||
/* | ||
/** | ||
* Represents a line within a text file | ||
@@ -32,44 +31,43 @@ */ | ||
/** | ||
* DEPRECATED - Return this line's content | ||
* | ||
* @returns {string} | ||
*/ | ||
* DEPRECATED - Return this line's content | ||
* | ||
* @returns {string} | ||
*/ | ||
content(): string; | ||
/** | ||
* Containing file | ||
* | ||
* @property {File} file | ||
*/ | ||
* Containing file | ||
* | ||
* @property {File} file | ||
*/ | ||
readonly file: File; | ||
/** | ||
* Line length | ||
* | ||
* @property {number} length | ||
*/ | ||
* Line length | ||
* | ||
* @property {number} length | ||
*/ | ||
readonly length: number; | ||
/** | ||
* Line number from 0 | ||
* | ||
* @property {number} num | ||
*/ | ||
* Line number from 0 | ||
* | ||
* @property {number} num | ||
*/ | ||
readonly num: number; | ||
/** | ||
* Line number from 1 | ||
* | ||
* @property {number} numFrom1 | ||
*/ | ||
* Line number from 1 | ||
* | ||
* @property {number} numFrom1 | ||
*/ | ||
readonly numFrom1: number; | ||
/** | ||
* Update this line's content | ||
* | ||
* @param s2 {string} The content to update this line to | ||
*/ | ||
* Update this line's content | ||
* | ||
* @param s2 {string} The content to update this line to | ||
*/ | ||
update(s2: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { MutableView }; | ||
/* | ||
/** | ||
* MutableView | ||
@@ -30,9 +29,8 @@ */ | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { OverwritableText }; | ||
/* | ||
/** | ||
* Generic text container | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Pair }; | ||
/* | ||
/** | ||
* JSON pair | ||
@@ -31,17 +30,16 @@ */ | ||
/** | ||
* Add a key value | ||
* | ||
* @param arg0 {string} | ||
* @param arg1 {string} | ||
*/ | ||
* Add a key value | ||
* | ||
* @param arg0 {string} | ||
* @param arg1 {string} | ||
*/ | ||
addKeyValue(arg0: string, arg1: string): void; | ||
/** | ||
* setValue | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* setValue | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
setValue(arg0: string): void; | ||
} | ||
} |
@@ -25,6 +25,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Pom }; | ||
/* | ||
/** | ||
* POM XML file | ||
@@ -34,3 +33,2 @@ */ | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { PomMutableViewMutatingFunctions }; | ||
/* | ||
/** | ||
* PomMutableViewMutatingFunctions | ||
@@ -30,200 +29,199 @@ */ | ||
/** | ||
* Adds or replaces a build plugin | ||
* | ||
* @param groupId {string} The value of the build plugin's groupId | ||
* @param artifactId {string} The value of the build plugin's artifactId | ||
* @param pluginContent {string} The XML content for the plugin | ||
*/ | ||
* Adds or replaces a build plugin | ||
* | ||
* @param groupId {string} The value of the build plugin's groupId | ||
* @param artifactId {string} The value of the build plugin's artifactId | ||
* @param pluginContent {string} The XML content for the plugin | ||
*/ | ||
addOrReplaceBuildPlugin(groupId: string, artifactId: string, pluginContent: string): void; | ||
/** | ||
* Adds or replaces a build plugin management plugin | ||
* | ||
* @param groupId {string} The value of the build plugin management plugins's groupId | ||
* @param artifactId {string} The value of the build plugin management plugins's artifactId | ||
* @param pluginContent {string} The XML content for the plugin | ||
*/ | ||
* Adds or replaces a build plugin management plugin | ||
* | ||
* @param groupId {string} The value of the build plugin management plugins's groupId | ||
* @param artifactId {string} The value of the build plugin management plugins's artifactId | ||
* @param pluginContent {string} The XML content for the plugin | ||
*/ | ||
addOrReplaceBuildPluginManagementPlugin(groupId: string, artifactId: string, pluginContent: string): void; | ||
/** | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
addOrReplaceDependency(groupId: string, artifactId: string): void; | ||
/** | ||
* Adds or replaces a dependency management dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param dependencyContent {string} The XML content for the dependency | ||
*/ | ||
* Adds or replaces a dependency management dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param dependencyContent {string} The XML content for the dependency | ||
*/ | ||
addOrReplaceDependencyManagementDependency(groupId: string, artifactId: string, dependencyContent: string): void; | ||
/** | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param scope {string} The value of the dependency's scope | ||
*/ | ||
* Add or replace a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param scope {string} The value of the dependency's scope | ||
*/ | ||
addOrReplaceDependencyOfScope(groupId: string, artifactId: string, scope: string): void; | ||
/** | ||
* Add or replace a dependency, providing version and scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
* Add or replace a dependency, providing version and scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
addOrReplaceDependencyOfVersion(groupId: string, artifactId: string, newVersion: string): void; | ||
/** | ||
* Add or replace a dependency, providing version and scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
* @param scope {string} The value of the dependency's scope to be set | ||
*/ | ||
* Add or replace a dependency, providing version and scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
* @param scope {string} The value of the dependency's scope to be set | ||
*/ | ||
addOrReplaceDependencyOfVersionAndScope(groupId: string, artifactId: string, newVersion: string, scope: string): void; | ||
/** | ||
* Add or replace a dependency's scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newScope {string} The new value of the dependency's scope to be set | ||
*/ | ||
* Add or replace a dependency's scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newScope {string} The new value of the dependency's scope to be set | ||
*/ | ||
addOrReplaceDependencyScope(groupId: string, artifactId: string, newScope: string): void; | ||
/** | ||
* Add or replace a dependency's version | ||
* | ||
* @param groupId {string} The value of dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
* Add or replace a dependency's version | ||
* | ||
* @param groupId {string} The value of dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
* @param newVersion {string} The value of the dependency's version to be set | ||
*/ | ||
addOrReplaceDependencyVersion(groupId: string, artifactId: string, newVersion: string): void; | ||
/** | ||
* Adds or replaces a profile | ||
* | ||
* @param id {string} The value of the profile's id | ||
* @param profileContent {string} The XML content for the profile | ||
*/ | ||
* Adds or replaces a profile | ||
* | ||
* @param id {string} The value of the profile's id | ||
* @param profileContent {string} The XML content for the profile | ||
*/ | ||
addOrReplaceProfile(id: string, profileContent: string): void; | ||
/** | ||
* Add or replace a property | ||
* | ||
* @param propertyName {string} The name of the property being set | ||
* @param propertyValue {string} The value of the property being set | ||
*/ | ||
* Add or replace a property | ||
* | ||
* @param propertyName {string} The name of the property being set | ||
* @param propertyValue {string} The value of the property being set | ||
*/ | ||
addOrReplaceProperty(propertyName: string, propertyValue: string): void; | ||
/** | ||
* Removes a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Removes a dependency | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
removeDependency(groupId: string, artifactId: string): void; | ||
/** | ||
* Remove a dependency's scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Remove a dependency's scope | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
removeDependencyScope(groupId: string, artifactId: string): void; | ||
/** | ||
* Remove a dependency's version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
* Remove a dependency's version | ||
* | ||
* @param groupId {string} The value of the dependency's groupId | ||
* @param artifactId {string} The value of the dependency's artifactId | ||
*/ | ||
removeDependencyVersion(groupId: string, artifactId: string): void; | ||
/** | ||
* Remove a property | ||
* | ||
* @param propertyName {string} The name of the project property being deleted | ||
*/ | ||
* Remove a property | ||
* | ||
* @param propertyName {string} The name of the project property being deleted | ||
*/ | ||
removeProperty(propertyName: string): void; | ||
/** | ||
* Set the content of the parent block | ||
* | ||
* @param newParentBlock {string} The parent block that you are trying to set | ||
*/ | ||
* Set the content of the parent block | ||
* | ||
* @param newParentBlock {string} The parent block that you are trying to set | ||
*/ | ||
replaceParent(newParentBlock: string): void; | ||
/** | ||
* Set the content of the artifactId element | ||
* | ||
* @param newArtifactId {string} The artifactId that you are trying to set | ||
*/ | ||
* Set the content of the artifactId element | ||
* | ||
* @param newArtifactId {string} The artifactId that you are trying to set | ||
*/ | ||
setArtifactId(newArtifactId: string): void; | ||
/** | ||
* Set the content of the description element | ||
* | ||
* @param newDescription {string} The description that you are trying to set | ||
*/ | ||
* Set the content of the description element | ||
* | ||
* @param newDescription {string} The description that you are trying to set | ||
*/ | ||
setDescription(newDescription: string): void; | ||
/** | ||
* Set the content of the groupId element | ||
* | ||
* @param newGroupId {string} The groupId that you are trying to set | ||
*/ | ||
* Set the content of the groupId element | ||
* | ||
* @param newGroupId {string} The groupId that you are trying to set | ||
*/ | ||
setGroupId(newGroupId: string): void; | ||
/** | ||
* Set the content of the packaging element | ||
* | ||
* @param newPackaging {string} The packaging that you are trying to set | ||
*/ | ||
* Set the content of the packaging element | ||
* | ||
* @param newPackaging {string} The packaging that you are trying to set | ||
*/ | ||
setPackaging(newPackaging: string): void; | ||
/** | ||
* Set the content of the parent artifactId element | ||
* | ||
* @param newParentArtifactId {string} The parent artifactId that you are trying to set | ||
*/ | ||
* Set the content of the parent artifactId element | ||
* | ||
* @param newParentArtifactId {string} The parent artifactId that you are trying to set | ||
*/ | ||
setParentArtifactId(newParentArtifactId: string): void; | ||
/** | ||
* Set the content of the parent groupId element | ||
* | ||
* @param newParentGroupId {string} The parent groupId that you are trying to set | ||
*/ | ||
* Set the content of the parent groupId element | ||
* | ||
* @param newParentGroupId {string} The parent groupId that you are trying to set | ||
*/ | ||
setParentGroupId(newParentGroupId: string): void; | ||
/** | ||
* Set the content of the parent version element | ||
* | ||
* @param newParentVersion {string} The parent version that you are trying to set | ||
*/ | ||
* Set the content of the parent version element | ||
* | ||
* @param newParentVersion {string} The parent version that you are trying to set | ||
*/ | ||
setParentVersion(newParentVersion: string): void; | ||
/** | ||
* Add or replace project name | ||
* | ||
* @param newName {string} The name being set | ||
*/ | ||
* Add or replace project name | ||
* | ||
* @param newName {string} The name being set | ||
*/ | ||
setProjectName(newName: string): void; | ||
/** | ||
* Set the content of the version element | ||
* | ||
* @param newVersion {string} The version that you are trying to set | ||
*/ | ||
* Set the content of the version element | ||
* | ||
* @param newVersion {string} The version that you are trying to set | ||
*/ | ||
setVersion(newVersion: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { PomMutableViewNonMutatingFunctions }; | ||
/* | ||
/** | ||
* PomMutableViewNonMutatingFunctions | ||
@@ -30,135 +29,134 @@ */ | ||
/** | ||
* Return the content of the artifactId element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the artifactId element | ||
* | ||
* @returns {string} | ||
*/ | ||
artifactId(): string; | ||
/** | ||
* Return the value of a dependency's scope as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a dependency's scope as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
dependencyScope(groupId: string, artifactId: string): string; | ||
/** | ||
* Return the value of a dependency's version as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a dependency's version as specified by artifactId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to inspect | ||
* @param artifactId {string} The artifactId of the dependency you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
dependencyVersion(groupId: string, artifactId: string): string; | ||
/** | ||
* Return the content of the description element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the description element | ||
* | ||
* @returns {string} | ||
*/ | ||
description(): string; | ||
/** | ||
* Return the content of the groupId element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the groupId element | ||
* | ||
* @returns {string} | ||
*/ | ||
groupId(): string; | ||
/** | ||
* Return whether a build plugin management plugin is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the build plugin management plugin you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the build plugin management plugin you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a build plugin management plugin is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the build plugin management plugin you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the build plugin management plugin you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
isBuildPluginManagementPresent(groupId: string, artifactId: string): boolean; | ||
/** | ||
* Return whether a build plugin is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the build plugin you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the build plugin you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a build plugin is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the build plugin you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the build plugin you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
isBuildPluginPresent(groupId: string, artifactId: string): boolean; | ||
/** | ||
* Return whether a dependency management dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency management dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency management dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a dependency management dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency management dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency management dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
isDependencyManagementDependencyPresent(groupId: string, artifactId: string): boolean; | ||
/** | ||
* Return whether a dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a dependency is present as specified by artifactId and groupId | ||
* | ||
* @param groupId {string} The groupId of the dependency you are looking to test the presence of | ||
* @param artifactId {string} The artifactId of the dependency you are looking to test the presence of | ||
* @returns {boolean} | ||
*/ | ||
isDependencyPresent(groupId: string, artifactId: string): boolean; | ||
/** | ||
* | ||
* | ||
* @param id {string} | ||
* @returns {boolean} | ||
*/ | ||
* | ||
* | ||
* @param id {string} | ||
* @returns {boolean} | ||
*/ | ||
isProfilePresent(id: string): boolean; | ||
/** | ||
* Return the content of the name element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the name element | ||
* | ||
* @returns {string} | ||
*/ | ||
name(): string; | ||
/** | ||
* Return the content of the packaging element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the packaging element | ||
* | ||
* @returns {string} | ||
*/ | ||
packaging(): string; | ||
/** | ||
* Return the content of the parent artifactId | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the parent artifactId | ||
* | ||
* @returns {string} | ||
*/ | ||
parentArtifactId(): string; | ||
/** | ||
* Return the content of the parent groupId | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the parent groupId | ||
* | ||
* @returns {string} | ||
*/ | ||
parentGroupId(): string; | ||
/** | ||
* Return the content of the parent version | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the parent version | ||
* | ||
* @returns {string} | ||
*/ | ||
parentVersion(): string; | ||
/** | ||
* Return the value of a project property | ||
* | ||
* @param projectPropertyName {string} The project property you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
* Return the value of a project property | ||
* | ||
* @param projectPropertyName {string} The project property you are looking to inspect | ||
* @returns {string} | ||
*/ | ||
property(projectPropertyName: string): string; | ||
/** | ||
* Return the content of the version element | ||
* | ||
* @returns {string} | ||
*/ | ||
* Return the content of the version element | ||
* | ||
* @returns {string} | ||
*/ | ||
version(): string; | ||
} | ||
} |
@@ -24,6 +24,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Project }; | ||
/* | ||
/** | ||
* Type for a project. Supports global operations. Consider using file and other lower types by preference as projectoperations can be inefficient. | ||
@@ -34,178 +33,177 @@ */ | ||
/** | ||
* Create a directory | ||
* | ||
* @param name {string} The name of the directory being added | ||
* @param parentPath {string} The path under which the directory should be created | ||
*/ | ||
* Create a directory | ||
* | ||
* @param name {string} The name of the directory being added | ||
* @param parentPath {string} The path under which the directory should be created | ||
*/ | ||
addDirectory(name: string, parentPath: string): void; | ||
/** | ||
* Create a directory | ||
* | ||
* @param directoryPath {string} The path under which the directory and any missing intermediate directories will be created | ||
*/ | ||
* Create a directory | ||
* | ||
* @param directoryPath {string} The path under which the directory and any missing intermediate directories will be created | ||
*/ | ||
addDirectoryAndIntermediates(directoryPath: string): void; | ||
/** | ||
* Add the given executable file to the project. Path can contain /s. Content is a literal string | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to be placed in the new file | ||
*/ | ||
* Add the given executable file to the project. Path can contain /s. Content is a literal string | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to be placed in the new file | ||
*/ | ||
addExecutableFile(path: string, content: string): void; | ||
/** | ||
* Add the given file to the project. Path can contain /s. Content is a literal string | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to be placed in the new file | ||
*/ | ||
* Add the given file to the project. Path can contain /s. Content is a literal string | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to be placed in the new file | ||
*/ | ||
addFile(path: string, content: string): void; | ||
/** | ||
* Copy the given file from the editor's backing archive to the same path in project being edited. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
*/ | ||
* Copy the given file from the editor's backing archive to the same path in project being edited. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
*/ | ||
copyEditorBackingFileOrFail(sourcePath: string): void; | ||
/** | ||
* Copy the given file from the editor's backing archive. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
* Copy the given file from the editor's backing archive. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
copyEditorBackingFileOrFailToDestination(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Copy the given file from the editor's backing archive. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source directory | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
* Copy the given file from the editor's backing archive. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source directory | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
copyEditorBackingFilesOrFail(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Copy the given files from the editor's backing archive under the given directory into the same directory in the project being edited. | ||
* | ||
* @param sourcePath {string} Source directory | ||
*/ | ||
* Copy the given files from the editor's backing archive under the given directory into the same directory in the project being edited. | ||
* | ||
* @param sourcePath {string} Source directory | ||
*/ | ||
copyEditorBackingFilesPreservingPath(sourcePath: string): void; | ||
/** | ||
* Copy the given files from the editor's backing archive under the given path. Take the relative paths and place under new destination path | ||
* | ||
* @param sourcePath {string} Source directory | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
* Copy the given files from the editor's backing archive under the given path. Take the relative paths and place under new destination path | ||
* | ||
* @param sourcePath {string} Source directory | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
copyEditorBackingFilesWithNewRelativePath(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Copy the given files from the editor's backing archive project to the project being edited. Doesn't copy Atomist content. | ||
* | ||
*/ | ||
* Copy the given files from the editor's backing archive project to the project being edited. Doesn't copy Atomist content. | ||
* | ||
*/ | ||
copyEditorBackingProject(): void; | ||
/** | ||
* Copy the given file in the target project. It is not an error if it doesn't exist | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
* Copy the given file in the target project. It is not an error if it doesn't exist | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
copyFile(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Copy the given file in the target project. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
* Copy the given file in the target project. Fail the editor if it isn't found or if the destination already exists | ||
* | ||
* @param sourcePath {string} Source path | ||
* @param destinationPath {string} Destination path | ||
*/ | ||
copyFileOrFail(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Deletes a directory with the given path | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
* Deletes a directory with the given path | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
deleteDirectory(path: string): void; | ||
/** | ||
* Delete the given file from the project. Path can contain /s. | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
* Delete the given file from the project. Path can contain /s. | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
deleteFile(path: string): void; | ||
/** | ||
* Edit with the given editor | ||
* | ||
* @param editorName {string} Name of the editor to invoke | ||
* @param params {any} Parameters to pass to the editor | ||
*/ | ||
* Edit with the given editor | ||
* | ||
* @param editorName {string} Name of the editor to invoke | ||
* @param params {any} Parameters to pass to the editor | ||
*/ | ||
editWith(editorName: string, params: any): void; | ||
/** | ||
* Makes a file executable | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
* Makes a file executable | ||
* | ||
* @param path {string} The path to use | ||
*/ | ||
makeExecutable(path: string): void; | ||
/** | ||
* Merge the given template to the given output path. | ||
* | ||
* @param template {string} The name of the template within the backing Rug archive, under /.atomist / templates | ||
* @param path {string} The path that will be the merged path within the output project. | ||
* @param parameters {any} Parameters | ||
*/ | ||
* Merge the given template to the given output path. | ||
* | ||
* @param template {string} The name of the template within the backing Rug archive, under /.atomist / templates | ||
* @param path {string} The path that will be the merged path within the output project. | ||
* @param parameters {any} Parameters | ||
*/ | ||
merge(template: string, path: string, parameters: any): void; | ||
/** | ||
* Merge templates from the specified directory in the backing archive, under /.atomist/templates, to the given output path in the project being edited. | ||
* | ||
* @param templatesPath {string} Source template path where content will be used to merge into target project | ||
* @param outputPath {string} The destination path within the destination project | ||
* @param ic {any} Parameters to the template | ||
*/ | ||
* Merge templates from the specified directory in the backing archive, under /.atomist/templates, to the given output path in the project being edited. | ||
* | ||
* @param templatesPath {string} Source template path where content will be used to merge into target project | ||
* @param outputPath {string} The destination path within the destination project | ||
* @param ic {any} Parameters to the template | ||
*/ | ||
mergeTemplates(templatesPath: string, outputPath: string, ic: any): void; | ||
/** | ||
* Move the contents of this project under the given path, preserving its present path under that | ||
* | ||
* @param path {string} The root path to move the file to | ||
*/ | ||
* Move the contents of this project under the given path, preserving its present path under that | ||
* | ||
* @param path {string} The root path to move the file to | ||
*/ | ||
moveUnder(path: string): void; | ||
/** | ||
* Don't use. Merely intended to simplify the life of the Rug to TypeScript transpiler. | ||
* | ||
* @returns {Project[]} | ||
*/ | ||
* Don't use. Merely intended to simplify the life of the Rug to TypeScript transpiler. | ||
* | ||
* @returns {Project[]} | ||
*/ | ||
projects(): Project[]; | ||
/** | ||
* Replace all occurrences of the given regular expression in this project | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @param replacement {string} The string to replace matches with | ||
*/ | ||
* Replace all occurrences of the given regular expression in this project | ||
* | ||
* @param regexp {string} The regular expression to search for | ||
* @param replacement {string} The string to replace matches with | ||
*/ | ||
regexpReplace(regexp: string, replacement: string): void; | ||
/** | ||
* Replace all occurrences of the given string literal in this project. Use with care! | ||
* | ||
* @param literal {string} The string to look for | ||
* @param replaceWith {string} The string to replace matches with | ||
*/ | ||
* Replace all occurrences of the given string literal in this project. Use with care! | ||
* | ||
* @param literal {string} The string to look for | ||
* @param replaceWith {string} The string to replace matches with | ||
*/ | ||
replace(literal: string, replaceWith: string): void; | ||
/** | ||
* Globally replace all occurrences of the given string literal in file paths in this project | ||
* | ||
* @param literal {string} The string to search for | ||
* @param replacement {string} The string to replace in the paths if found | ||
*/ | ||
* Globally replace all occurrences of the given string literal in file paths in this project | ||
* | ||
* @param literal {string} The string to search for | ||
* @param replacement {string} The string to replace in the paths if found | ||
*/ | ||
replaceInPath(literal: string, replacement: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
import { Project } from "./Project"; | ||
export { ProjectDecorating }; | ||
/* | ||
/** | ||
* ProjectDecorating | ||
@@ -30,9 +29,8 @@ */ | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { Project } from "./Project"; | ||
export { ProjectView }; | ||
/* | ||
/** | ||
* ProjectView | ||
@@ -31,74 +30,73 @@ */ | ||
/** | ||
* Return a new Project View based on the original backing object (normally the .atomist/ directory) | ||
* | ||
* @returns {Project} | ||
*/ | ||
* Return a new Project View based on the original backing object (normally the .atomist/ directory) | ||
* | ||
* @returns {Project} | ||
*/ | ||
backingArchiveProject(): Project; | ||
/** | ||
* Provides access additional context, such as the PathExpressionEngine | ||
* | ||
* @property {ProjectContext} context | ||
*/ | ||
* Provides access additional context, such as the PathExpressionEngine | ||
* | ||
* @property {ProjectContext} context | ||
*/ | ||
readonly context: ProjectContext; | ||
/** | ||
* The number of files directly in this directory | ||
* | ||
* @param path {string} The path to use | ||
* @returns {number} | ||
*/ | ||
* The number of files directly in this directory | ||
* | ||
* @param path {string} The path to use | ||
* @returns {number} | ||
*/ | ||
countFilesInDirectory(path: string): number; | ||
/** | ||
* Does a file with the given path exist and have the expected content? | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to check | ||
* @returns {boolean} | ||
*/ | ||
* Does a file with the given path exist and have the expected content? | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to check | ||
* @returns {boolean} | ||
*/ | ||
fileContains(path: string, content: string): boolean; | ||
/** | ||
* The total number of files in this project | ||
* | ||
* @property {number} fileCount | ||
*/ | ||
* The total number of files in this project | ||
* | ||
* @property {number} fileCount | ||
*/ | ||
readonly fileCount: number; | ||
/** | ||
* Does a file with the given path exist and have the expected content? | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to check against the given file | ||
* @returns {boolean} | ||
*/ | ||
* Does a file with the given path exist and have the expected content? | ||
* | ||
* @param path {string} The path to use | ||
* @param content {string} The content to check against the given file | ||
* @returns {boolean} | ||
*/ | ||
fileHasContent(path: string, content: string): boolean; | ||
/** | ||
* Files in this archive | ||
* | ||
* @property {File[]} files | ||
*/ | ||
* Files in this archive | ||
* | ||
* @property {File[]} files | ||
*/ | ||
readonly files: File[]; | ||
/** | ||
* Return the name of the project. If it's in GitHub, it will be the repo name. If it's on the local filesystem it will be the directory name | ||
* | ||
* @property {string} name | ||
*/ | ||
* Return the name of the project. If it's in GitHub, it will be the repo name. If it's on the local filesystem it will be the directory name | ||
* | ||
* @property {string} name | ||
*/ | ||
readonly name: string; | ||
/** | ||
* Return the path expression to this point in the given file | ||
* | ||
* @param arg0 {string} | ||
* @param arg1 {string} | ||
* @param arg2 {number} | ||
* @param arg3 {number} | ||
* @returns {string} | ||
*/ | ||
* Return the path expression to this point in the given file | ||
* | ||
* @param arg0 {string} | ||
* @param arg1 {string} | ||
* @param arg2 {number} | ||
* @param arg3 {number} | ||
* @returns {string} | ||
*/ | ||
pathTo(arg0: string, arg1: string, arg2: number, arg3: number): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Properties }; | ||
/* | ||
/** | ||
* Java properties file | ||
@@ -31,41 +30,40 @@ */ | ||
/** | ||
* Return whether a property key exists in this file or not | ||
* | ||
* @param key {string} The key of the property being searched for | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a property key exists in this file or not | ||
* | ||
* @param key {string} The key of the property being searched for | ||
* @returns {boolean} | ||
*/ | ||
containsKey(key: string): boolean; | ||
/** | ||
* Return whether a property value exists in this file or not | ||
* | ||
* @param value {string} The value being searched for | ||
* @returns {boolean} | ||
*/ | ||
* Return whether a property value exists in this file or not | ||
* | ||
* @param value {string} The value being searched for | ||
* @returns {boolean} | ||
*/ | ||
containsValue(value: string): boolean; | ||
/** | ||
* Return the content of this property | ||
* | ||
* @param key {string} The name of the simple node | ||
* @returns {string} | ||
*/ | ||
* Return the content of this property | ||
* | ||
* @param key {string} The name of the simple node | ||
* @returns {string} | ||
*/ | ||
getValue(key: string): string; | ||
/** | ||
* Return a list of the supported keys | ||
* | ||
* @returns {any[]} | ||
*/ | ||
* Return a list of the supported keys | ||
* | ||
* @returns {any[]} | ||
*/ | ||
keys(): any[]; | ||
/** | ||
* Set the value of the specified property, creating a property if not present | ||
* | ||
* @param key {string} The key of the property being set | ||
* @param value {string} The value of the property | ||
*/ | ||
* Set the value of the specified property, creating a property if not present | ||
* | ||
* @param key {string} The key of the property being set | ||
* @param value {string} The value of the property | ||
*/ | ||
setProperty(key: string, value: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { PythonFile }; | ||
/* | ||
/** | ||
* Python file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { ScalaFile }; | ||
/* | ||
/** | ||
* Scala file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
import { BodyDeclarationView } from "./BodyDeclarationView"; | ||
export { TypeDeclarationView }; | ||
/* | ||
/** | ||
* TypeDeclarationView | ||
@@ -30,45 +29,44 @@ */ | ||
/** | ||
* Move the type to the given package | ||
* | ||
* @param newPackage {string} The package to move the type to | ||
*/ | ||
* Move the type to the given package | ||
* | ||
* @param newPackage {string} The package to move the type to | ||
*/ | ||
movePackage(newPackage: string): void; | ||
/** | ||
* Return the name of the type | ||
* | ||
* @property {string} name | ||
*/ | ||
* Return the name of the type | ||
* | ||
* @property {string} name | ||
*/ | ||
readonly name: string; | ||
/** | ||
* Return the package | ||
* | ||
* @property {string} pkg | ||
*/ | ||
* Return the package | ||
* | ||
* @property {string} pkg | ||
*/ | ||
readonly pkg: string; | ||
/** | ||
* Rename the type | ||
* | ||
* @param newName {string} The new name of the type | ||
*/ | ||
* Rename the type | ||
* | ||
* @param newName {string} The new name of the type | ||
*/ | ||
rename(newName: string): void; | ||
/** | ||
* Rename the type by replacing a pattern in the name | ||
* | ||
* @param target {string} The name of the type to replace | ||
* @param replacement {string} The replacement pattern | ||
*/ | ||
* Rename the type by replacing a pattern in the name | ||
* | ||
* @param target {string} The name of the type to replace | ||
* @param replacement {string} The replacement pattern | ||
*/ | ||
renameByReplace(target: string, replacement: string): void; | ||
/** | ||
* Add or replace header comment for this type | ||
* | ||
* @param comment {string} New header comment to set | ||
*/ | ||
* Add or replace header comment for this type | ||
* | ||
* @param comment {string} New header comment to set | ||
*/ | ||
setHeaderComment(comment: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { ViewSupport }; | ||
/* | ||
/** | ||
* ViewSupport | ||
@@ -30,30 +29,29 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeTags(): string[]; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -21,6 +21,5 @@ /* | ||
import { MutableView } from "./MutableView"; | ||
export { Xml }; | ||
/* | ||
/** | ||
* XML | ||
@@ -31,62 +30,61 @@ */ | ||
/** | ||
* Add the specified content under the indicated xpath-selected node | ||
* | ||
* @param xpath {string} The XPath selector for the node to add the content under | ||
* @param newNode {string} The new node name to be added as a child | ||
* @param nodeContent {string} XML document to be added under the indicated node | ||
*/ | ||
* Add the specified content under the indicated xpath-selected node | ||
* | ||
* @param xpath {string} The XPath selector for the node to add the content under | ||
* @param newNode {string} The new node name to be added as a child | ||
* @param nodeContent {string} XML document to be added under the indicated node | ||
*/ | ||
addChildNode(xpath: string, newNode: string, nodeContent: string): void; | ||
/** | ||
* Adds a node if it does not exist | ||
* | ||
* @param parentNodeXPath {string} The XPath selector for the parent node | ||
* @param xPathOfNodeToPlace {string} The XPath selector for the node to be placed | ||
* @param newNode {string} The name of the node being placed | ||
* @param nodeContent {string} The content of the node being placed | ||
*/ | ||
* Adds a node if it does not exist | ||
* | ||
* @param parentNodeXPath {string} The XPath selector for the parent node | ||
* @param xPathOfNodeToPlace {string} The XPath selector for the node to be placed | ||
* @param newNode {string} The name of the node being placed | ||
* @param nodeContent {string} The content of the node being placed | ||
*/ | ||
addNodeIfNotPresent(parentNodeXPath: string, xPathOfNodeToPlace: string, newNode: string, nodeContent: string): void; | ||
/** | ||
* Adds or replaces a node | ||
* | ||
* @param parentNodeXPath {string} The XPath selector for the parent node | ||
* @param xPathOfNodeToReplace {string} The XPath selector for the node to replace | ||
* @param newNode {string} The name of the node being placed | ||
* @param nodeContent {string} The content of the node being placed | ||
*/ | ||
* Adds or replaces a node | ||
* | ||
* @param parentNodeXPath {string} The XPath selector for the parent node | ||
* @param xPathOfNodeToReplace {string} The XPath selector for the node to replace | ||
* @param newNode {string} The name of the node being placed | ||
* @param nodeContent {string} The content of the node being placed | ||
*/ | ||
addOrReplaceNode(parentNodeXPath: string, xPathOfNodeToReplace: string, newNode: string, nodeContent: string): void; | ||
/** | ||
* Tests whether a node matching the given xpath expression is present | ||
* | ||
* @param xpath {string} The XPath to test against for the presence of a node | ||
* @returns {boolean} | ||
*/ | ||
* Tests whether a node matching the given xpath expression is present | ||
* | ||
* @param xpath {string} The XPath to test against for the presence of a node | ||
* @returns {boolean} | ||
*/ | ||
contains(xpath: string): boolean; | ||
/** | ||
* Deletes the specified node | ||
* | ||
* @param xpath {string} The XPath to the node to delete | ||
*/ | ||
* Deletes the specified node | ||
* | ||
* @param xpath {string} The XPath to the node to delete | ||
*/ | ||
deleteNode(xpath: string): void; | ||
/** | ||
* Get the text content for a specific xpath expression | ||
* | ||
* @param xpath {string} The XPath to use to retrieve the test content | ||
* @returns {string} | ||
*/ | ||
* Get the text content for a specific xpath expression | ||
* | ||
* @param xpath {string} The XPath to use to retrieve the test content | ||
* @returns {string} | ||
*/ | ||
getTextContentFor(xpath: string): string; | ||
/** | ||
* Set the text content for a specific xpath expression | ||
* | ||
* @param xpath {string} The XPath to use to set the test content | ||
* @param newContent {string} New text content for the XPath | ||
*/ | ||
* Set the text content for a specific xpath expression | ||
* | ||
* @param xpath {string} The XPath to use to set the test content | ||
* @param newContent {string} New text content for the XPath | ||
*/ | ||
setTextContentFor(xpath: string, newContent: string): void; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { XmlFile }; | ||
/* | ||
/** | ||
* XML file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
@@ -20,6 +20,5 @@ /* | ||
export { YamlFile }; | ||
/* | ||
/** | ||
* YAML file | ||
@@ -30,44 +29,43 @@ */ | ||
/** | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
* Children | ||
* | ||
* @returns {TreeNode[]} | ||
*/ | ||
children(): TreeNode[]; | ||
/** | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
* Return the format info for the start of this structure in the file or null if not available | ||
* | ||
* @property {FormatInfo} formatInfo | ||
*/ | ||
readonly formatInfo: FormatInfo; | ||
/** | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
* Tags attached to the node | ||
* | ||
* @returns {string[]} | ||
*/ | ||
nodeType(): string[]; | ||
/** | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
* Return the parent node | ||
* | ||
* @returns {TreeNode} | ||
*/ | ||
parent(): TreeNode; | ||
/** | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
* Update the whole value | ||
* | ||
* @param arg0 {string} | ||
*/ | ||
update(arg0: string): void; | ||
/** | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
* Node content | ||
* | ||
* @returns {string} | ||
*/ | ||
value(): string; | ||
} | ||
} |
{ | ||
"name": "@atomist/rug", | ||
"version": "1.0.0-m.6", | ||
"version": "1.0.0-m.7", | ||
"description": "TypeScript model for Atomist Rugs, see http://docs.atomist.com/", | ||
@@ -5,0 +5,0 @@ "repository": { |
319331