Tabnine Logo
Directory.getKey
Code IndexAdd Tabnine to your IDE (free)

How to use
getKey
method
in
org.sonar.api.resources.Directory

Best Java code snippets using org.sonar.api.resources.Directory.getKey (Showing top 4 results out of 315)

origin: org.codehaus.sonar/sonar-plugin-api

@Override
public String getName() {
 return getKey();
}
origin: org.codehaus.sonar/sonar-plugin-api

@Override
public String toString() {
 return new ToStringBuilder(this)
  .append("key", getKey())
  .append("path", getPath())
  .toString();
}
origin: org.codehaus.sonar/sonar-plugin-api

@Override
public boolean matchFilePattern(String antPattern) {
 WildcardPattern matcher = WildcardPattern.create(antPattern, "/");
 return matcher.match(getKey());
}
origin: fabriciocolombo/sonar-delphi

public Directory getDirectory(java.io.File dir, Project module) {
 Directory directory = Directory.fromIOFile(dir, module);
 if (directory == null || directory.getKey() == null) {
  return Directory.create(DEFAULT_PACKAGE_NAME);
 }
 return directory;
}
org.sonar.api.resourcesDirectorygetKey

Popular methods of Directory

  • create
    Internal use only.
  • fromIOFile
  • <init>
  • getPath
  • parseKey
  • relativePathFromSourceDir
    Internal.
  • add
  • closeDirectory
  • delete
  • equals
  • inDirectory
  • normalize
  • inDirectory,
  • normalize,
  • setKey,
  • setPath

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JCheckBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now