Class JavaFragmentArtifact

    • Constructor Detail

      • JavaFragmentArtifact

        protected JavaFragmentArtifact​(IJavaParent parent)
        Creates a Java fragment artifact.
        Parameters:
        parent - the parent
    • Method Detail

      • getParent

        protected IJavaParent getParent()
        Returns the parent of this fragment.
        Returns:
        the parent
      • update

        public void update()
                    throws VilException
        Description copied from interface: IArtifact
        Called if the underlying real artifact may have been updated, e.g., by overriding it by another file.
        Specified by:
        update in interface IArtifact
        Throws:
        VilException - in case that updating fails
      • delete

        public void delete()
                    throws VilException
        Description copied from interface: IArtifact
        Deletes this artifact.
        Specified by:
        delete in interface IArtifact
        Throws:
        VilException - in case of serious problems so that this operation cannot continue
      • notifyChanged

        protected void notifyChanged()
        Notifies the parent about a change in this artifact.
      • getNameSafe

        protected java.lang.String getNameSafe()
        Returns the name of the artifact ignoring the exception.
        Returns:
        the name of the artifact