Package com._1c.g5.v8.dt.addin.model
Class AddInExtension
java.lang.Object
com._1c.g5.v8.dt.addin.model.AddInExtension
Operation implementations for EClass
AddIn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildAddInContentBlobFqn
(AddIn addIn) Builds add-in content blob FQN.static String
buildAddInContentBlobFqn
(String addInFqn) Builds add-in content blob FQN.static String
Extracts the add-in FQN from the corresponding content blob FQN.static InputStream
getContent
(AddIn addIn) Gets the contents of the specifiedAddIn
instance.static boolean
Checks if the specified FQN belongs to an add-in content blob.static void
setContent
(AddIn addIn, InputStream content) Sets the contents of the specifiedAddIn
instance.
-
Constructor Details
-
AddInExtension
public AddInExtension()
-
-
Method Details
-
getContent
Gets the contents of the specifiedAddIn
instance.- Parameters:
addIn
- TheAddIn
instance. May not benull
.- Returns:
- an
InputStream
instance providing the content. Nevernull
.
-
setContent
Sets the contents of the specifiedAddIn
instance.- Parameters:
addIn
- TheAddIn
instance. May not benull
.content
- AnInputStream
instance providing the content. May not benull
.
-
isAddInContentBlobFqn
Checks if the specified FQN belongs to an add-in content blob.- Parameters:
fqn
- The FQN. May not benull
.- Returns:
true
if the specified FQN belongs to an add-in content blob,false
otherwise.
-
buildAddInContentBlobFqn
Builds add-in content blob FQN.- Parameters:
addIn
- The add-in. May not benull
.- Returns:
- the blob FQN. Never
null
.
-
buildAddInContentBlobFqn
Builds add-in content blob FQN.- Parameters:
addIn
- The add-in FQN. May not benull
.- Returns:
- the blob FQN. Never
null
.
-
extractAddInFqnFromContentBlobFqn
Extracts the add-in FQN from the corresponding content blob FQN.- Parameters:
fqn
- The blob FQN. May not benull
.- Returns:
- the extracted add-in FQN. Never
null
.
-