Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdeveloper.audit.model
Interface ContentRoot

All Superinterfaces:
java.lang.Comparable<ContentRoot>
All Known Implementing Classes:
DefaultContentRoot

public interface ContentRoot
extends java.lang.Comparable<ContentRoot>

A content root represents a single root directory from a single content set.

Two roots are equal if the following are equal:


Nested Class Summary
static class ContentRoot.Type
           

 

Field Summary
static ContentRoot.Type LIBRARY
           
static ContentRoot.Type PROJECT
           
static ContentRoot.Type WORKSPACE
           

 

Method Summary
 boolean canContainJavaSources()
          Gets whether this root can contain Java sources.
 boolean contains(ContentRoot root)
          Gets whether this root contains another root.
 IntersectedFilters getFilters()
          Gets the declared pattern filters applicable to this root.
 java.lang.String getKey()
          Gets the key of this root.
 java.lang.String getLabel()
          Gets the label (short label) of this root.
 java.lang.String getNormalizedPath()
          Gets the normalized absolute path of this root.
 java.lang.String getPath()
          Gets the absolute path of this root.
 ContentRoot.Type getType()
          Gets the content type of this root.
 java.net.URL getUrl()
          Gets the URL of this root.

 

Methods inherited from interface java.lang.Comparable
compareTo

 

Field Detail

WORKSPACE

static final ContentRoot.Type WORKSPACE

PROJECT

static final ContentRoot.Type PROJECT

LIBRARY

static final ContentRoot.Type LIBRARY

Method Detail

getUrl

java.net.URL getUrl()
Gets the URL of this root.

getType

ContentRoot.Type getType()
Gets the content type of this root.

getPath

java.lang.String getPath()
Gets the absolute path of this root.

getNormalizedPath

java.lang.String getNormalizedPath()
Gets the normalized absolute path of this root.

getKey

java.lang.String getKey()
Gets the key of this root.

getLabel

java.lang.String getLabel()
Gets the label (short label) of this root. In practice, the label seems to be used to group content sets in the navigator (e.g., one label is "Application Sources".

getFilters

IntersectedFilters getFilters()
Gets the declared pattern filters applicable to this root.

contains

boolean contains(ContentRoot root)
Gets whether this root contains another root.

canContainJavaSources

boolean canContainJavaSources()
Gets whether this root can contain Java sources.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.